64,687
社区成员
发帖
与我相关
我的任务
分享
int main()
{
std::wstring strUnicode = L"我是unicode";
std::wcout.imbue( std::locale("chs") ); //加上这句话
//std::wcout << strUnicode << std::endl; //打印不出来
std::wcout << L"我是unicode" << std::endl; //打印不出来
//getchar();
system("pause");
return 0;
}