int main() { _setmode(_fileno(stdout), _O_WTEXT); wprintf(L"\u0004"); // A Unicode code should go in there as a variable. return 0; }
const wchar_t * wstring = L"some wide string"; wprintf( L"%s\n", wstring );
wchar_t wideChar = 0x1234; wprintf( L"hex: %04X char: %c\n", wideChar, wideChar );
variable
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)