摘要: [代码]1//Utilityfunctiontotrimwhitespaceofftheendsofastring2inlinestd::stringtrim(std::stringsource)3{4std::stringresult=source.erase(source.find_last_not_of("\t")+1);5returnresult.erase(0,result.find_f... 阅读全文
posted @ 2009-12-16 16:02 allen.yu 阅读(1006) 评论(0) 推荐(0) 编辑