fork download
  1. #include <fstream>
  2. #include <string>
  3.  
  4. int main()
  5. {
  6. std::wofstream fout("1.txt");
  7. std::wstring str = L"blabla";
  8. fout << str;
  9. return 0;
  10. }
Success #stdin #stdout 0s 3408KB
stdin
Standard input is empty
stdout
Standard output is empty