- #1
gab_6666
- 8
- 0
Hi, I try to get different random numbers with srand(time(0)) then rand() but the problem is that the program do it million times within 1 second and return the same value 1 million times.
How could I obtain different values without sleeping the processor ?
Thanks
How could I obtain different values without sleeping the processor ?
Thanks