[MFC] CString int double 형변환
MFC ※ UniCode // CString -> int convert CString strNum = _T("5"); int nNum = _ttoi(strNum); // int -> CString convert int nNum = 5; CString strNum; strNum.Format(_T("%d"), nNum); // CString -> double CString strNum = _T("5.5"); double nNum = _wtof(strNum); // double -> CString double nNum = 5.5; CString strNum; strNum.Format(_T("%f"), nNum); ※ Multibyte _ttoi -> atoi _wtof -> atof 링크 : http://fr..
Development
2018. 7. 15. 22:40
최근에 올라온 글
글 보관함
- Total
- Today
- Yesterday