+ 10
What is the difference between getch and getche functions?
2 ответов
+ 5
getch() reads only single character from the screen
getche() reads a single character from the keyboard and displays immediately on output screen without waiting for enter key.
+ 5
Both getch() and getche() reads a single character without any buffer. The difference is that getche() echos the character.