getch returns a character as soon as the user enters a character.
getch
Simple c++ function for getting single characters from the user.