CString与string互转
作者:互联网
CString-->string:
CString cstrA;
string strB = CT2A(cstrA.GetBuffer());
----------------------------------------------------------
string转CString:
string strA;
CString cstrB(strA.c_str());
----------------------------------------------------------
标签:string,CString,cstrA,----------------------------------------------------------, 来源: https://www.cnblogs.com/m1911/p/15304655.html