What is the role of "getch" in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the role of "getch" in c++

c++

18th Jan 2017, 6:50 AM
Anurag Bathla
Anurag Bathla - avatar
3 Answers
+ 9
getch() is literally 'get character'. It pauses the console screen until you press any key.
18th Jan 2017, 8:48 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
it holds the output screen so you can see your output
18th Jan 2017, 9:05 AM
Shyam Dhuriya
Shyam Dhuriya - avatar
+ 1
getch() is to get a character
18th Jan 2017, 9:12 AM
SUMANTH VENKATA SAI KRISHNA Manduru
SUMANTH VENKATA SAI KRISHNA Manduru - avatar