srand


void srand(unsigned int seed)

Seeds the random number generator.

Parameters

unsigned int seed

The seed for the function rand.

Notes