Why Getch is used for?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Studied at the University of Melbourne, Lives in Melbourne, Australia.
getch() is a way to get a user inputted character. It can be used to hold program execution, but the "holding" is simply a side-effect of its primary purpose, which is to wait until the user enters a character. getch() and getchar() are used to read a character from screen.
2023-05-09 14:09:57
评论(499)
Helpful(122)
Helpful
Helpful(2)

Charlotte Davis
QuesHub.com delivers expert answers and knowledge to you.
getch() is a way to get a user inputted character. It can be used to hold program execution, but the "holding" is simply a side-effect of its primary purpose, which is to wait until the user enters a character. getch() and getchar() are used to read a character from screen.