##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::putwchar

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

Defined in header `<cwchar>` |  |
wint_t putwchar( wchar_t ch ); |  |

Writes a wide character `ch` to `stdout`

### [edit] Parameters

ch | - | wide character to be written

### [edit] Return value

`ch` on success, WEOF on failure.

### [edit] See also

putchar | writes a character to stdout (function) [edit]
fputwc putwc | writes a wide character to a file stream (function) [edit]
C documentation for putwchar

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