摘要: 遍历string:for(string::iterator it=str.begin(); it!=str.end(); it++ cout<<*it;或者for(inti=0; i<str.length(); i++) cout<<str.at(i);substr:s=s.substr(a... 阅读全文
posted @ 2015-02-12 14:29 Empress 阅读(192) 评论(0) 推荐(0)