原文地址为:
C++ CString转int int转CString
转载请注明本文地址: C++ CString转int int转CString
1.CString 转 int
CString strtemp = "100";
int intResult;
intResult= atoi(strtemp);
-----------------------------------------------------------------
2 int 转 CString
CString strtemp;
int i = 2334;
strtemp.Format("%d",i);
转载请注明本文地址: C++ CString转int int转CString