CString str;
string cstr;
USES_CONVERSION;
//将CString转为string 保存在cstr中
cstr = T2A(str);
MFC CString转string
最新推荐文章于 2025-03-21 13:49:07 发布
CString str;
string cstr;
USES_CONVERSION;
//将CString转为string 保存在cstr中
cstr = T2A(str);