Facebook Page Twitter Page LinkedIn Page
× C++ Standard Library C++ STL Library


The C++ <cwchar> btowc() function is used to return the wide character representation of the byte value c if (and only if) c is a valid multibyte character with a length of a single byte in the initial state of a multibyte sequence, Otherwise, it returns WEOF.

Syntax

wint_t btowc (int c);          

❮ C++ <cwchar> Library