please i 'm a beginner and i want to know why we use getch(using of getch)?with an example
getch gets a char from the input stream. If there's nothing in the stream, it has the user input. Sometimes it's used to pause until enter is pressed.
Notice that getch is not in the standard C++ libraries, it is usually found in curses or conio
d'oh I was thinking cin.get() or getchar() for some reason. Ignore my post. getch returns a character directly from the console without printing it.
Last edited on
thank u gumbercules ,
thank u bazzy.