Something else just came to mind. For your program, I was assuming that you did it earlier, but did you make sure to include
to your includes and
to the beginning of your code execution? If you do not initialize your random number seed, then you will be generating
the same random numbers every time your code executes.
Bookmarks