Name

wchar_t type — Wide-character type specifier

Synopsis

               simple-type-specifier := wchar_t
image with no caption

The wchar_t type specifier denotes a wide character. The representation and interpretation of wide characters is implementation-defined.

Example

wchar_t Hellas[] = L"\u0397\u03b5\u03bb\u03bb\u03b1\u03c2";

See Also

char, type, Chapter 1, Chapter 2

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.