Random numbers

Hello

I think that on McOsX random numbers seem to be less random than on Windows.

in c++ I use srand(time(0)) and rand() % functions

but I’m thinking about a pseudo random numbres array!

is it a good idea?

MandarX

from GNU+Linux rand() man page :

The versions of rand() and srand() in the Linux C Library use the same random number generator as random() and srandom(), so the lower-order bits should be as random as the higher-order bits. However, on older rand() implementations, and on current implementations on different systems, the lower-order bits are much less random than the higher-order bits. Do not use this function in applications intended to be portable when good randomness is needed.