qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
getch, getche
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The getch function reads a single character from the console
     without echoing. The getche function reads a single character from
     the console and echoes the character read. Neither function can be
     used to read CTRL+C.
 
     When reading a function key or cursor-movement key, the getch and
     getche functions must be called twice. The first call returns 0 or
     0xE0, and the second call returns the actual key code.
 
     Return Value
 
     These functions return the character read. There is no error
     return.
                                    -♦-