1.CString 转 int
CString strtemp = "100";
int intResult;
intResult= atoi(strtemp);
-----------------------------------------------------------------
2 int 转 CString
CString strtemp;
int i = 2334;
strtemp.Format("%d",i);