摘要: push_back: append character to stringerase: erase characters from string string str ("This is an example phrase."); string::iterator it; str.erase (10,8); cout << str << endl; // "This is an phrase."substr: string str="We think in generalities,but we live in deta 阅读全文
posted @ 2012-01-11 17:39 张兰云 阅读(435) 评论(0) 推荐(0) 编辑