随笔 - 833  文章 - 1  评论 - 106  阅读 - 199万
09 2013 档案
string <-> wstring
摘要:// std::string -> std::wstringstd::string s("string");std::wstring ws;ws.assign(s.begin(), s.end());// std::wstring -> std::stringstd::wstring ws(L"wstring");std::string s;s.assign(ws.begin(), ws.end()); 阅读全文
posted @ 2013-09-22 16:13 3D入魔 阅读(222) 评论(0) 推荐(1) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示