现在想在Linux下显示中文
代码如下
#include <clocale>
#include <cwchar>
void optionVersion()
{
wchar_t wstr[] = L"简体中文版 by 大师♂罗莊";
wprintf(L"%ls",wstr);
exit(0);
}#include <cloc现在想在Linux下显示中文
代码如下
#include <clocale>
#include <cwchar>
void optionVersion()
{
wchar_t wstr[] = L"简体中文版 by 大师♂罗莊";
wprintf(L"%ls",wstr);
exit(0);
}#include <cloc