- Function
Initialize the pseudo random number generator.
- Header
- Declaration
void __fastcall__ srand (unsigned seed);- Description
The function initializes the random number generator using the given seed. On program startup, the generator behaves as if
srandhas been called with an argument of 1.- Limits
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- Availability
ISO 9899
- See also
- Example
None.