I'm working on an application. I'm using:
int rand_num = rand() % 100;
To get a random integer between 0 to 99. Now, let's say I got 41, then restarting my application, it's always 41. Same sequence over and over, means it's not really random.
Any solutions?