1. 程式人生 > >VC2010中整數轉成字符串

VC2010中整數轉成字符串

mfc vc 整數與字符串轉換

CString d;  
d.Format(_T("%d"),c);//整型轉字符串  
AfxMessageBox(d);  
  
int e = _ttoi(_T("123"));//字符串轉整型


VC2010中整數轉成字符串