fork(2) download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. int main() {
  5. double f = 23.43;
  6. std::wstring f_str = std::to_wstring(f);
  7. std::wcout << f_str << std::endl;
  8.  
  9. return 0;
  10. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:6:26: error: ‘to_wstring’ is not a member of ‘std’
stdout
Standard output is empty