从CString中获取字符串: 有时候我们需要将CString 对象中的字符串提取出来用于文件读写. vs2010 Unicode 工程 C/C++ code : char desc[100] = "0"; WideCharToMultiByte(CP_ACP, 0, str, -1, desc, 100, NULL, NULL); 相关文章: