Data/string
C 라이브러리
jjryu
2009. 2. 4. 16:35
#define _UNICODE
#include <tchar.h>
int _tmain(int argc, LPTSTR argv[]) {
...
}
TCHAR, LPTSTR, LPCGSTR
_T("..."), TEXT("..."), _TEXT("...")
_stprintf() // sprintf() // wsprintf()
_tstcpy() // strcpy()
_itot() // itoa()
_ttoi()
_tcsupr() // _strupr, _wcsupr, _mbsupr
_tcslwr() // _strlwr, _wcslwr, _mbslwr
_totuppper()
_totlower()
_tcscmp()
_tcscmpi()
_tsetlocale()
_tcsstr() // strstr, wcsstr, _mbsstr
_memtchr() // memchr
_tcscpy() // strcpy() // lstrcpy()
_tcscpy_s()
_tcscpy_s<>()
strncmp()
_strnicmp()
memcmp()
memset()
로케일 고려
참조 사이트:
#include <tchar.h>
int _tmain(int argc, LPTSTR argv[]) {
...
}
TCHAR, LPTSTR, LPCGSTR
_T("..."), TEXT("..."), _TEXT("...")
_stprintf() // sprintf() // wsprintf()
_tstcpy() // strcpy()
_itot() // itoa()
_ttoi()
_tcsupr() // _strupr, _wcsupr, _mbsupr
_tcslwr() // _strlwr, _wcslwr, _mbslwr
_totuppper()
_totlower()
_tcscmp()
_tcscmpi()
_tsetlocale()
_tcsstr() // strstr, wcsstr, _mbsstr
_memtchr() // memchr
_tcscpy() // strcpy() // lstrcpy()
_tcscpy_s()
_tcscpy_s<>()
strncmp()
_strnicmp()
memcmp()
memset()
로케일 고려
lstrcmp()
lstrcmpi()
CharUpper()
IsCharAlphaNumeric()
CompareString()
MultiByteToWideChar()
strcoll()
lstrcmpi()
CharUpper()
IsCharAlphaNumeric()
CompareString()
MultiByteToWideChar()
strcoll()
_tstrrchr() // strrchr()
_vsnprintf()
vsprintf()
strtok()
memcpy()
memmove()
isdigit()
문자열 치환
진법 지정 인수가 있다.
_vsnprintf()
vsprintf()
strtok()
memcpy()
memmove()
isdigit()
문자열 치환
진법 지정 인수가 있다.
itoa()
strtoul()
참조 사이트:
http://forum.falinux.com/zbxe/?mid=C_LIB&page=10&document_srl=408111
http://blog.naver.com/PostView.nhn?blogId=drvoss&logNo=20059148948
http://mwultong.blogspot.com/2006/10/c-string-replace-all.html
http://forum.falinux.com/zbxe/?document_srl=408052
http://forum.falinux.com/zbxe/?document_srl=408126&mid=C_LIB&sort_index=readed_count&order_type=desc
http://jjjryu.tistory.com/entry/%EC%9D%BC%EB%B0%98%EC%A0%81-%EB%AC%B8%EC%9E%90generic-characters
http://blog.naver.com/PostView.nhn?blogId=drvoss&logNo=20059148948
http://mwultong.blogspot.com/2006/10/c-string-replace-all.html
http://forum.falinux.com/zbxe/?document_srl=408052
http://forum.falinux.com/zbxe/?document_srl=408126&mid=C_LIB&sort_index=readed_count&order_type=desc
http://jjjryu.tistory.com/entry/%EC%9D%BC%EB%B0%98%EC%A0%81-%EB%AC%B8%EC%9E%90generic-characters