标签:
(1)CString转换为string
CString cs(_T("cs")); string s; s = (LPCSTR)(CStringA)(cs);
(2)string转换为CString
string s ="Hello World!中国"; CString cs(s.c_str());
CString与string之间的转换
原文地址:http://blog.csdn.net/calmreason/article/details/42455935