会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
太一吾鱼水
岁寒然后知松柏之后凋也!
博客园
首页
新随笔
联系
订阅
管理
2014年7月20日
C++内存未释放的情况
摘要: 以下例子中,存储了整数123的记亿体空间不能被删除,因为地址丢失了。这些空间已无法再使用。 1 #include 2 using namespace std; 3 int main() 4 { 5 int *a = new int(123); 6 cout 2 #include...
阅读全文
posted @ 2014-07-20 14:03 太一吾鱼水
阅读(684)
评论(0)
推荐(0)
编辑
公告