2.4 this指針調整-this指針對象模型分析

一、先看編程實驗: #include <iostream> using namespace std; class A { public: int a; //佔4個字節 A() { printf("A::A()的this指針是:%p!\n", this); } void funcA() { printf("A::funcA()的this指針是:%p!\n", this); }
相關文章
相關標籤/搜索