"C++"의 두 판 사이의 차이
jjuiddong
(한 사용자의 중간의 편집 5개 숨겨짐) | |||
11번째 줄: | 11번째 줄: | ||
* [[콘솔에서 hinstance 얻기]] | * [[콘솔에서 hinstance 얻기]] | ||
* [[특정 문자열 변경 replace]] | * [[특정 문자열 변경 replace]] | ||
+ | * [[문자열 split]] | ||
+ | * [[프로그램이 죽었을 때, jit 없이 종료하기]] | ||
+ | * [[시간차 계산]] | ||
+ | * [[TopMost 윈도우]] | ||
+ | * [[메모리에 접근 가능한지 검사]] | ||
+ | * [[멤버 함수 포인터]] |
2015년 12월 13일 (일) 14:59 기준 최신판
- 대소문자 변환
- http://neodreamer.tistory.com/267
- toupper( int ) 대문자 변환 리턴
- tolower( int ) 소문자 변환 리턴
std::string a = "abcABC.,!"; std::transform(a.begin(), a.end(), a.begin(), toupper); // a를 대문자로 변경 std::transform(a.begin(), a.end(), a.begin(), tolower); // a를 소문자로 변경