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
最新推荐文章于 2022-03-23 10:59:09 发布