Character Manipulation Function
int _getche(void);
wint_t _getwche(void);
_TINT _gettche(void);
Internationalization (I18n) Function Overview
The _getche function reads a character from the console, echoing the character.
_getwche is the wide-character version of _getche , returning a wide-character wint_t .
_gettche is the Generic version of the function; with the _MBCS or _UNICODE compiler flags determining its mapping to either _getche or _getwche .
These functions cannot be used to read CTRL+C.
In addition, _getche will need to be called twice when reading a function key or an arrow key, with the first call returning 0 or 0xE0, and the second call returning the actual key code.
I18n Issues
Use the appropriate version of the function as required for internationalization support.
See Character I/O for a discussion on non-ASCII character
input/output in an internationalized application.
Recommended Replacements*
*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.
Character Manipulation
Functions
|