sophtwarez
Programmer
Hello all - how can I generate a random number *at run time* in C++? I'm thinking of something like Visual Basic's Rnd or, in Java, Math.random().
I've used rand() and it always generates the same number after compilation.
Thanks much,
dav1d
I've used rand() and it always generates the same number after compilation.
Thanks much,
dav1d