摘要:
class base{ public: int y; int z; int x; base():x(1){} void output() { printf("%d\n",x); printf("%p\n",(void *)this); printf("%d\n",this->x); }};class der :public base{ public: int x; der():x(2){}};int main(int argc,char **argv){ base x; de... 阅读全文