@coder777
that function gave me 18509994788061168 and i have no idea what to do.
also i tried
|
BOOL WINAPI SetConsoleOutputCP(1253);
|
but it did not help (1253 is greek codepage for windows and 737 for dos)
however i found another command:
that works, IF i change the font of the command line from raster to lucida console. That would be enough for me, if only i knew how to change the font as the programmer, not have the user change it.
@Cubbi
i get the following on lines 22, 25 and 28 (the lines with greek on the wstring)
error: converting to execution character set: Illegal byte sequence| |
which is strange, because normal strings give no error, while wstrings do. By the way, i do not understand the code above line 22. Too advanced for me.
When compiling your code using the "Edit & Run" i
get no do not get converting execution error but it shows the following:
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Process returned 3 (0x3) execution time : 0.078 s
Press any key to continue.
|