摘要: 转自:http://blog.csdn.net/sszgg2006/article/details/9037675 首先看以下程序: [cpp] view plain copy #include <stdio.h> int *swap(int *px, int *py){ int temp; tem 阅读全文
posted @ 2018-03-15 21:20 23hour 阅读(5302) 评论(0) 推荐(0)
摘要: 堆区和栈区的区别 转自:https://www.cnblogs.com/zlcxbb/p/5752144.html C++程序内存布局: 代码区(code area) 程序内存空间 全局数据区(data area) 堆区(heap area) 栈区(stack area) 一个由C/C++编译的程序 阅读全文
posted @ 2018-03-15 20:40 23hour 阅读(14369) 评论(1) 推荐(0)
Edit