Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/numeric/random/srand"

From cppreference.com
< cpp‎ | numeric‎ | random
m (Text replace - "{{params}}" to "===Parameters===")
m (Text replace - "{{returns}}" to "===Return value===")
Line 14: Line 14:
  
 
<!-- ======== -->
 
<!-- ======== -->
{{returns}}
+
===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

Template:return none

Template:example cpp

Template:see also

Template:cpp/numeric/random/dcl list rand