15,979
社区成员
发帖
与我相关
我的任务
分享
char curt[4]="";CString str2;str2="23" ;
sprintf(curt,"%s",str2);
char temp[4];
CString str = _T("23");
char* pchar = str.GetBuffer(0);
strcpy(temp,pchar);
char temp[4];
CString str = _T("23");
USES_CONVERSION;
char* pchar = _T("");
pchar = W2A(str);
strcpy(temp,pchar);