std::rand
From cppreference.com
Template:cpp/numeric/random/sidebar
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 |
Parameters
seed | - | the seed value |