<< Previous | Next >>

srand

void srand( unsigned long seed );

Description

Sets the seed value for the rand() function.

Parameter

seed
This must be an odd number.

Library

MATH.LIB

See also

rand, randb, randg


Dynamic C Functions << Previous | Next >> rabbit.com