C++

各种类型转换

Posted by Kerwen Blog on June 19, 2015

CString与int

1
2
3
4
5
6
CString ->int     
_ttoi(CString)  

int->CString   
CString str;   
str.Format("%d",int)