What is the exact difference between the getch and getchar functions?
getch
getchar
getchar() is a standard function that gets a character from the stdin.
getchar()
getch() is non-standard. It gets a character from the keyboard (which may be different from stdin) and does not echo it.
getch()
1.4m articles
1.4m replys
5 comments
57.0k users