std::getwchar

From Cppreference

< cpp | io | c
Jump to: navigation, search
Defined in header <cwchar>

wint_t getchar();

Reads the next wide character from stdin.

[edit] Parameters

(none)

[edit] Return value

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

[edit] See also

getchar
reads a character from stdin
(function)
fgetwc
getwc
gets a wide character from a file stream
(function)