<문자를 정수로 변환>
<String conversion functions>
#define _tcstod wcstod
#define _tcstof wcstof
#define _tcstol wcstol
#define _tcstold wcstold
#define _tcstoll wcstoll
#define _tcstoul wcstoul
#define _tcstoull wcstoull
#define _tcstoimax wcstoimax
#define _tcstoumax wcstoumax
#define _tcstoi64 _wcstoi64
#define _tcstoui64 _wcstoui64
#define _ttof _wtof
#define _tstof _wtof
#define _tstol _wtol
#define _tstoll _wtoll
#define _tstoi _wtoi
#define _tstoi64 _wtoi64
#define _tcstod_l _wcstod_l
#define _tcstof_l _wcstof_l
#define _tcstol_l _wcstol_l
#define _tcstold_l _wcstold_l
#define _tcstoll_l _wcstoll_l
#define _tcstoul_l _wcstoul_l
#define _tcstoull_l _wcstoull_l
#define _tcstoi64_l _wcstoi64_l
#define _tcstoui64_l _wcstoui64_l
#define _tcstoimax_l _wcstoimax_l
#define _tcstoumax_l _wcstoumax_l
#define _tstof_l _wtof_l
#define _tstol_l _wtol_l
#define _tstoll_l _wtoll_l
#define _tstoi_l _wtoi_l
#define _tstoi64_l _wtoi64_l
#define _itot_s _itow_s
#define _ltot_s _ltow_s
#define _ultot_s _ultow_s
#define _itot _itow
#define _ltot _ltow
#define _ultot _ultow
#define _ttoi _wtoi
#define _ttol _wtol
#define _ttoll _wtoll
#define _ttoi64 _wtoi64
#define _i64tot_s _i64tow_s
#define _ui64tot_s _ui64tow_s
#define _i64tot _i64tow
#define _ui64tot _ui64tow
<정수를 WSTR 자료형으로 변환>
_itow_s()
<매개변수>
value
변환할 숫자입니다.
buffer
변환 결과를 보유하는 출력 버퍼입니다.
size
문자 buffer 또는 와이드 문자의 크기입니다.
radix
2-36 범위여야 하는 를 변환하는 데 사용할 기수 또는 숫자 value 밑입니다.
MSDN 참고
https://docs.microsoft.com/ko-kr/cpp/c-runtime-library/reference/itoa-s-itow-s?view=msvc-170
_itoa_s, _itow_s 함수
자세한 정보: _itoa_s, _ltoa_s, _ultoa_s, _i64toa_s, _ui64toa_s, _itow_s, _ltow_s, _ultow_s, _i64tow_s, _ui64tow_s
docs.microsoft.com
'MFC' 카테고리의 다른 글
[MFC] AfxGetApp() 와 AfxGetMainWnd() (0) | 2022.01.05 |
---|---|
[MFC] CString 클래스 멤버함수 요약 (0) | 2022.01.05 |
[MFC] MFC 특징 복습 (0) | 2021.12.27 |
[MFC]타일피킹(직선의 방정식) (0) | 2021.12.25 |
[MFC] 윈도우창 관련 함수(클라이언트창 크기 셋팅) (0) | 2021.12.24 |