摘要: static 一:静态,意思就是呆在一个地方,不想动,大概就是编译期间就确定地址了。首先了解下C中的进程内存布局: 1)正文段(.text)——CPU执行的机器指令部分;一个程序只有一个副本;只读,防止程序由于意外事故而修改自身指令; 2)初始化数据段(.data)——在程序中所有赋了初值的全局变量 阅读全文
posted @ 2016-06-08 15:09 Geeken 阅读(195) 评论(0) 推荐(0) 编辑
摘要: Memory Layout for Multiple and Virtual Inheritance(By Edsko de Vries, January 2006)Warning. This article is rather technical and assumes a good knowle 阅读全文
posted @ 2016-06-08 09:29 Geeken 阅读(484) 评论(0) 推荐(0) 编辑
摘要: The original article is taken from http://msdn.microsoft.com/archive/en-us/dnarvc/html/jangrayhood.asp. Illustrations are taken from http://www.micros 阅读全文
posted @ 2016-06-08 09:27 Geeken 阅读(403) 评论(0) 推荐(0) 编辑