What exactly is getch() ? Please explain in simple language! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What exactly is getch() ? Please explain in simple language!

20th Aug 2019, 2:11 AM
Mangesh.
Mangesh. - avatar
2 Answers
+ 1
Reads one character from the console (doesn't show it on the screen)
20th Aug 2019, 3:04 AM
unChabon
unChabon - avatar
+ 1
Martin Taylor yes, It's non-standard from conio.h... And from curses.h :)
20th Aug 2019, 7:41 AM
unChabon
unChabon - avatar