Nov 11, 2012 at 3:53am UTC
I'm making a text-game, and I need real random numbers. I'm using rand() but it seems too give me same thing every time I run the program, so could someone tell me how to do real randomness
Nov 11, 2012 at 3:56am UTC
Scroll to the middle of the article and read about the srand function.
Topic archived. No new replies allowed.
General C++ Programming
© cplusplus.com, 2000-2013 - All rights reserved -
Spotted an error? contact us