반응형
CString tempstr = _T("123");
int tempint = 0;

//※ CString to int
tempint = _ttoi(tempstr); //CString → int

//※ int to CString
tempstr.Format(_T("d"), tempint);
반응형
Posted by Rainfly
l