I need a good random numbers generator
Members - Reputation: 126
Posted 29 November 1999 - 09:32 AM
If you seed the Random Number differently you will get a different set of "random" numbers. Using the time to seed the generator is a good way of doing this
#include srand( (unsigned)time( NULL ) ); Taken from MSDN. Keeb
srand( (unsigned)time( NULL ) );
Taken from MSDN.