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
#30.2
It complies!
hangman
wcstombs_s wide string conversion with multibyte chars and locale + concatenation
a parameter pack
Dices by GOOSE
Temp 1
Insertion vs Sort
Removing __unaligned specifier partial solution
#7.2