글
std::string Trim
프로그래밍
2012. 5. 12. 23:06
void trim( std::string& s )
{
s.erase(s.find_last_not_of(" \n\r\t")+1);
}
'프로그래밍' 카테고리의 다른 글
std::string Trim (0) | 2012.05.12 |
---|---|
파일변경 알림 ReadDirectoryChangesW() 함수 (1) | 2012.05.09 |
HDR 쓸 때 주의할 점 (0) | 2008.11.24 |
minidump (0) | 2008.03.04 |
[GDC] Networked Physics (1) | 2008.02.23 |
프로그래밍(재탕) (3) | 2007.12.19 |
RECENT COMMENT