Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | io‎ | c
m (Shorten template names. Use {{lc}} where appropriate.)
m (Update links.)
Line 14: Line 14:
 
===See also===
 
===See also===
 
{{dsc begin}}
 
{{dsc begin}}
{{dsc inc | cpp/io/c/dcl list getchar}}
+
{{dsc inc | cpp/io/c/dsc getchar}}
{{dsc inc | cpp/io/c/dcl list fgetwc}}
+
{{dsc inc | cpp/io/c/dsc fgetwc}}
 
{{dsc see c | c/io/getwchar}}
 
{{dsc see c | c/io/getwchar}}
 
{{dsc end}}
 
{{dsc end}}

Revision as of 22:01, 31 May 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 getchar();

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