会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
fengbohello
以颤抖之身追赶,怀敬畏之心挑战
博客园
首页
新随笔
联系
订阅
管理
2015年2月3日
C++的STL中vector内存分配方法的简单探索
摘要: STL中vector什么时候会自动分配内存,又是怎么分配的呢?环境:Linux CentOS 5.21、代码#include #include using namespace std;int main(){ vector x_vec; printf("data size : [%3d],...
阅读全文
posted @ 2015-02-03 18:06 fengbohello
阅读(1691)
评论(0)
推荐(0)
编辑
公告