Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Unicode_wcout
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #include <fcntl.h> #include <io.h> #include <iostream> int main() { _setmode(_fileno(stdout), _O_U16TEXT); std::wcout << L"hello\x00B2!" << std::endl; std::wcout << L"O\x00B3 x\x2080 + x\x2081 + x\x2082" << std::endl; std::wcout << L"x\x2083\x208A\x2084" << std::endl; std::wcout << L"\x20AC Euro!" << std::endl; std::wcout << L"2\x2077\x207B\x2079" << std::endl; }
run
|
edit
|
history
|
help
0
Error log b is an undeclared identifier...
Noexcept
PTaHHHa
Regex pipe and tabs c++
ADL of operator expression & unqualified function call
c++ pure apstraction
enable_if::type
MSVCStatic
Wide string conversion with multibyte chars
Unicode_write2file