First time here? Check out the FAQ!
answered 2014-08-01 01:04:51 -0600
"It keeps on generating the same number. Why?"
you will have to seed the RNG, else it starts with ~0 for seed all the time.
RNG rng(getTickCount());