STL의 string의 대소문자 변환

std::string strSome = "AaBbCcDdEeFfGg"; 

// 대문자로.. 
std::transform(strSome.begin(), strSome.end(), strSome.begin(), toupper); 

// 소문자로.. 
std::transform(strSome.begin(), strSome.end(), strSome.begin(), tolower);

Posted by chungki

2009/09/02 10:24 2009/09/02 10:24
,
Response
No Trackback , No Comment
RSS :
http://www.chungki.net/tc/rss/response/286


블로그 이미지

Nice !!!!!!!!

- chungki

Notices

Archives

Authors

  1. chungki

Calendar

«   2012/05   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Site Stats

Total hits:
73376
Today:
7
Yesterday:
20