Making srand ignore certain values?

Started by
10 comments, last by kbw 13 years, 2 months ago
Thank you, everyone! I'm working on fixing my code now. I appreciate all the support.
Advertisement
Be careful not to confuse rand() and srand(). srand() seeds the RNG, you typically call this once, and rand() gets the next value in the sequence, which you call when you need a random number.

This topic is closed to new replies.

Advertisement