srand
From cppreference.com
Defined in header <stdlib.h>
|
||
void srand( unsigned seed ); |
||
Initializes the built-in random number generator used to generate values for rand() with the seed value seed.
Contents |
[edit] Parameters
seed | - | the seed value |
[edit] Return value
(none)
[edit] Example
This section is incomplete Reason: no example |
[edit] See also
generates a pseudo-random number (function) | |
C++ documentation for srand
|