in reply to Re: Non-Repetitive Random Numbers
in thread Non-Repetitive Random Numbers
The docs for rand state that it "Automatically calls srand unless srand has already been called." It is not necessary to call srand manually and doing so may actually reduce the randomness of the sequence your receive. (If you call srand repeatedly, it will almost certainly do so.)
|
|---|