![]() |
#2
rjsp2022-12-09 16:56
|
DEBUG添加断点,观察wstring字符串正确,就是wcout无输出。
记得好像以前遇到过这个问题。
查找以前发的帖子,找到了解决方法。
添加一句std::wcout.imbue( std::locale(std::locale(),"",std::locale::ctype) );
wcout就可以正常输出了。。。。
但也只能是照猫画虎,不知其意。。。。
求教:std::wcout.imbue( std::locale(std::locale(),"",std::locale::ctype) ); 是什么意思。。。。
只有本站会员才能查看附件,请 登录
只有本站会员才能查看附件,请 登录
只有本站会员才能查看附件,请 登录
只有本站会员才能查看附件,请 登录