fork download
  1. #include <stdio.h>
  2. #include <locale.h>
  3.  
  4. int main() {
  5. std::locale::global(std::locale("en_US.UTF8"));
  6. std::wcout.imbue(std::locale());
  7.  
  8. wchar_t root = L'√';
  9.  
  10. std::wcout << root << std::endl;
  11.  
  12. return 0;
  13. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:10: fatal error: iostream: No such file or directory
 #include <iostream>
          ^~~~~~~~~~
compilation terminated.
stdout
Standard output is empty