#include <iostream> #include <string> int main() { double f = 23.43; std::wstring f_str = std::to_wstring(f); std::wcout << f_str << std::endl; return 0; }
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:6:26: error: ‘to_wstring’ is not a member of ‘std’
Standard output is empty