I have a small, small problem. Yet it irritates me slightly. As I am interested in picking up everything I can learn, since (as far as I understand) c++ is really hard, and it requires you to know alot.
Anyways here is the problem.
The Slot Machine I wrote, generates 3 random numbers with the possibility of going from (1 - 3). However, after a do- while statement that asks if you want to try again. It just generates the same numbers it did in the start. Over and over again.
For example: If I run it, it may generate: 1 || 2 || 3. And then it propmts the user to try again. If he types "Y" it restarts. However, when he spin the slot machine again, it generates the same numbers ( 1 || 2 || 3). I need to exit the console and then open it up again for it to generate 3 new random numbers between 1 and 3.
EDIT: I forgot to ask if it was possible to make the console generate 3 NEW random numbers after the user responded with 'Y'.