< c‎ | io
Defined in header <wchar.h>
wint_t getwchar();

Reads the next wide character from stdin.

[edit] Parameters


[edit] Return value

the obtained wide character or WEOF if an error has occurred or the end of file reached

[edit] See also

reads a character from stdin
gets a wide character from a file stream
C++ documentation for getwchar