2010年8月23日
摘要: 几种C++ std::string和std::wstring相互转换的转换方法 第一种方法:调用WideCharToMultiByte()和MultiByteToWideChar(),代码如下(关于详细的解释,可以参考《windows核心编程》): #include <string>#include <windows.h>using namespace std;//Conv... 阅读全文
posted @ 2010-08-23 11:31 3D入魔 阅读(10453) 评论(0) 推荐(0) 编辑