I THINK C++ has a separate thing that you need to do to randomize the random number.
Basically, if you run the program and ask for a random number, it'll keep on giving you random numbers BUT with each time you run the program you will get the same set of random numbers because it's working with the same seed that it pulls it's random numbers from. In order to make it truly random, you need to randomize the seed as well.
I could be misunderstanding your problem, or remembered a different programming language, but I'll check it out. I do know C++, so just give me a second to read through your program
Seppukuties is like LBP Lite, on crack. Play it already!Currently wrapped up in: Half Life, Portal, and User Created Source Mods
|