I have made a simple game where a user inputs single digit numbers to continue playing. How can I make cin work so that the player doesn't have to press enter after each input? In other words the computer expects one digit to be entered and when it is, there is no need for enter to be pressed.