CString str = _T("123"); int i = _ttoi(str); =============== int i = 123; CString str ; str.Format(_T("%d"), i);
MFC CString 和int相互转化
最新推荐文章于 2022-09-19 17:45:28 发布
CString str = _T("123"); int i = _ttoi(str); =============== int i = 123; CString str ; str.Format(_T("%d"), i);