Dear all,
I have one question about generating random number. My snippet of code is as follows,
My case requirement is that each value in the set of generating random number should be different.Code:srand(0); for (i = 0; i< 10,000,000; i++) { random_numbers[i] = rand(); }
However, I am not sure whether or not even the upper snippet code will acheive this goal?
Any suggestion, hint?
Thanks in advance,