摘要:
string对象的size() 肯定大于等于capacity()插入和追加insert(),append()替换 replace()string b("china");59 cout << "the string china" <<" size is " << b.size() << " capacity " << b.capacity() << endl;60 b.reserve(100);61 cout << "the 阅读全文
posted @ 2013-10-04 09:48
demps_c
阅读(149)
评论(0)
推荐(0)
浙公网安备 33010602011771号