Hello, I got a problem. Whenever I use rand() and I rerun the source

I get the same results each time do u know whats wrong?

Featured Replies

- 1
The random number generator has a specific starting value and follows a mathematical formula to generate the next number. If you know the starting value and the formula, you can predict the series that it will generate. That's just the way computerized random number generators are, some are better than … Read More

- 1
srand. once. at the beginning. Read More

This article has been dead for over six months. Start a new discussion instead.

Recommended Articles