std::rand
From Cppreference
Defined in header <cstdlib>
|
||
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 |
[edit] See also
|
generates a pseudo-random number (function) |