Difference between revisions of "cpp/numeric/random/srand"
From cppreference.com
m (Text replace - "{{params}}" to "===Parameters===") |
m (Text replace - "{{returns}}" to "===Return value===") |
||
Line 14: | Line 14: | ||
<!-- ======== --> | <!-- ======== --> | ||
− | + | ===Return value=== | |
{{return none}} | {{return none}} | ||
Revision as of 17:49, 2 August 2011
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
.
Parameters
seed | - | the seed value |
Return value
This section is incomplete Reason: no example |