Is there any use of getch() if any please tell | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is there any use of getch() if any please tell

7th Dec 2016, 2:10 PM
udayan
udayan - avatar
4 Answers
+ 2
getch() method is used to display the output screen which if not included in the program flashes the output screen on your desktop screen for a few seconds and then goes away... getch() is used to display all the cout statements obtained in the program in just a single go...
7th Dec 2016, 4:47 PM
Manmeet Kaur
Manmeet Kaur - avatar
0
I'm in programming world for a long time, but haven't found out the use of getch (), advise you not to pay much attention to this method)
7th Dec 2016, 4:03 PM
Khamidjon Egamov
Khamidjon Egamov - avatar
0
get ch() is used to display the output of the program
11th Dec 2016, 1:58 PM
Arshpreet kaur
Arshpreet kaur - avatar
0
yes getch() is a function which hold the console display.
23rd Jan 2017, 8:20 PM
Faizan Ahmed
Faizan Ahmed - avatar