摘要:
http://bbs.csdn.net/topics/390160673标准方面做了要求的。Eventhoughdestructorsarenotinherited构造函数和析构函数是不能被继承的 阅读全文
摘要:
#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 阅读全文