srand seeds the random number generation Funktion rand so it does not produce the same sequence of numbers.
Library: stdlib.h
Prototype: void srand(unsigned int seed);
Syntax: unsigned int seed=10; /* seed value */
srand();
| Anfang | Hauptindex | Schlüsselwörter | Funktionen |