getch
() is a way to get a user
inputted character. It can be used to
hold program execution, but the "holding" is simply a side-effect of its primary purpose, which is to
wait until the user enters a character. getch
() and getchar
() are used to
read a character from screen.
read more >>