Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/io/c/getwchar"

From cppreference.com
< cpp‎ | io‎ | c
m (Update links.)
(typo)
Line 2: Line 2:
 
{{cpp/io/c/navbar}}
 
{{cpp/io/c/navbar}}
 
{{ddcl | header=cwchar |
 
{{ddcl | header=cwchar |
wint_t getchar();
+
wint_t getwchar();
 
}}
 
}}
 
Reads the next wide character from {{lc|stdin}}.
 
Reads the next wide character from {{lc|stdin}}.

Revision as of 16:58, 26 June 2013

 
 
 
C-style I/O
Types and objects
Functions
File access
Direct input/output
Unformatted input/output
Formatted input
(C++11)(C++11)(C++11)    
(C++11)(C++11)(C++11)    
 
Defined in header <cwchar>
wint_t getwchar();

Reads the next wide character from stdin.

Parameters

(none)

Return value

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

See also

reads a character from stdin
(function) [edit]
gets a wide character from a file stream
(function) [edit]
C documentation for getwchar