srand(time(null));
error cannot convert time to int
srand((unsigned int)time(0));
time_t works with no cast will this have any effect on the seed
Let us know your time() function syntax.
Edit : thanks pogady, the standard random engine you mentioned is great!
Last edited on