摘要:
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 阅读全文