CString str; str.Format(_T("%d"),number1);//整型转字符串 AfxMessageBox(d);
CString str="222";
int num1 = _ttoi(_T("123"));//字符串转整型
int num1=_ttoi(str);
CString str; str.Format(_T("%d"),number1);//整型转字符串 AfxMessageBox(d);
CString str="222";
int num1 = _ttoi(_T("123"));//字符串转整型
int num1=_ttoi(str);
微信扫码登录