Evc下怎样将字符串转换成整型?Evc下怎样将字符串转换成整型?[解决办法]我也找不好啊。 CString strTest = _T( "213 "); char charTest[512]; WideCharToMultiByte(CP_ACP,0,strTest,-1,charTest,512,NULL,NULL); int nTest = atoi(charTest);