VC++ CString 与 int 类型转换

摘自:http://blog.csdn.net/a951084634/article/details/6961133

CString _temp = "100";

int _int;

_int = atoi(_temp);

===================================

===================================

CString str;   
        int i = 2334;   
        str.Format("%d",i);

猜你喜欢

转载自o396032767.iteye.com/blog/2396565