By using this site, you agree to our Privacy Policy and our Terms of Use. Close

General - Huh, 6, why 6??? - View Post

Grey Acumen said:
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

Yeah, that's the problem.

I just can't remember what the line code he needs is.  It's been two years since I'v eworked with C++.