std::getwchar - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::getwchar

From cppreference.com
< cpp‎ | io‎ | c

Defined in header `<cwchar>` |  |
wint_t getwchar(); |  |

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) [edit]
fgetwcgetwc | gets a wide character from a file stream (function) [edit]
C documentation for getwchar

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/io/c/getwchar&oldid=62367"