The classic way to generate random numbers in C is:
srand(time(NULL)); int rand = rand();
I want to know the algorithm behind the pseudo random number generation. How does the rand() function work?
rand()
Aucun commentaire:
Enregistrer un commentaire