Namespaces
Variants
Actions

std::getwchar

From cppreference.com
< cpp‎ | io‎ | c
 
C++
 
Input/output library
 
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>
std::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

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant