 | | Before requesting any random numbers, the generator should be seeded by calling srand. The seed parameter should be an integer type; the output of getpid or time(0) is usually a good value. Each time srand is called with the same seed, the output of the random number generator will be the same. | |
|