会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
demps_c
博客园
首页
新随笔
联系
管理
订阅
2013年10月4日
string
摘要: 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
阅读(137)
评论(0)
推荐(0)
编辑