jeans chen
we've got them by the balls
摘要: http://bbs.csdn.net/topics/390160673标准方面做了要求的。Eventhoughdestructorsarenotinherited构造函数和析构函数是不能被继承的 阅读全文
posted @ 2013-12-02 16:42 jeans chen 阅读(663) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;class Foo{public:int i;float f;char *cp;};int main(){Foo f1;if(f1.cp == 0) cout cp == 0) cout i f cp <<endl;return 0;}/work/ctest/insideTheC++ObjectModel$ ./1770374040 4.55997e-41 H�l$�L�d$�H�- in heap,pf.cp is null 0 0 阅读全文
posted @ 2013-12-02 16:10 jeans chen 阅读(165) 评论(0) 推荐(0) 编辑