hi,
i need help with generating random numbers;
The task is to generate hundreds of random vectors, like
1,3,5,6,7
2,4,5,4,8
...
I used the current time as the random seed, but it turns out
that every vector to be the same. I guess the problem arise
because the precision of time function limits to 1 second,
and in a very short time interval, the random seed is exactly
the same and thus all the vectors the same.
Does anybody know some better seed for this problem? or
any other random number generating functions?
Thanks,
Z
