- 博客(1)
- 收藏
- 关注
原创 string 类型字符替换
string& replace_all(string& str,const string& old_value,const string& new_value) { while(true) { string::size_type pos(0); if( (pos=str.find(old_value))!=string::npos ) str.replace(pos,old_value.lengt
2016-07-11 08:47:25 298
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人