方法一:
CString cstr(_T( "MIT"));
string str(CW2A((LPCTSTR)cstr));
方法二:
CString cstr(_T( "MIT"));
USES_CONVERSION;
std::string str=W2A(cstr);
方法一:
CString cstr(_T( "MIT"));
string str(CW2A((LPCTSTR)cstr));
方法二:
CString cstr(_T( "MIT"));
USES_CONVERSION;
std::string str=W2A(cstr);