How to check when the user presses a key...
Ok, part of my console program gets the user to press enter to continue after reading the introduction of how to use the program.
I've halted the program using the code below:
cout << "Please press ENTER to continue.";
But when in the console I can still enter letters or whatever when I type on the keyboard. Is there anyway I can stop the user from entering anything but pressing the enter key?
Last edited on
Topic archived. No new replies allowed.