摘要: 转自:http://www.cnblogs.com/jerry19880126/p/3616999.html C++类内存分布 书上类继承相关章节到这里就结束了,这里不妨说下C++内存分布结构,我们来看看编译器是怎么处理类成员内存分布的,特别是在继承、虚函数存在的情况下。 工欲善其事,... 阅读全文
posted @ 2016-04-25 23:10 Free_Open 阅读(11781) 评论(0) 推荐(3) 编辑
摘要: class A {public: A() { cout#include #include #include #define IMIN numeric_limits::min()#define IMAX numeric_limits::max()#define FR(i,n) ... 阅读全文
posted @ 2016-04-25 22:55 Free_Open 阅读(323) 评论(0) 推荐(0) 编辑