fork download
  1. #include <iostream>
  2. #include <clocale>
  3. #include <iostream>
  4. #include <Windows.h> // for MessageBoxW
  5.  
  6. using namespace std;
  7.  
  8. int main(int argc, char* argv[])
  9. {
  10. wchar_t uni[] = L"Unicodeのテストです。𠮟Ä(*´ڡ`●)( ・ิϖ・ิ) 正しく表示されるでしょうか";
  11. wcout << uni << endl;
  12. MessageBoxW(NULL, uni, uni, MB_OK);
  13.  
  14. return 0;
  15. }
  16.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:4:40: fatal error: Windows.h: No such file or directory
 #include <Windows.h> // for MessageBoxW
                                        ^
compilation terminated.
stdout
Standard output is empty