반응형
// CString -> const char *
CString cstr = _T("aaa");
CStringA astr = (CStringA)cstr;
Const char* pstr = astr.GetBuffer();
 
 // const char * -> CString
const char* pstr = "aaa";
CString cstr;
cstr = (CString)pstr;

 

반응형

+ Recent posts