摘要: C++11增加了unicode字面量的支持,可以通过L来定义宽字符:str::wstring str = L"中国人"; 将宽字符转换为窄字符串需要用到codecvt库中的std::wstring_convert 例: 阅读全文
posted @ 2018-05-17 14:29 Fate0729 阅读(1102) 评论(0) 推荐(1)