一篇旧文章,结合汇编探索this指针
摘要:
//VC6.0下成功编译#include class X{public: void foo(int b,int c){ this->a=b*c; cout 左 4)被调函数进行栈清理*///BCB6.0 下成功编译#include class X{public: void foo(int b,int c){ a = b*c; cout<<"a="<<a<<endl; } int a;};int main(){ X x; //04 void (X::*pXfoo)(int,int);... 阅读全文
posted @ 2014-01-17 18:19 codestyle 阅读(453) 评论(0) 推荐(0)
浙公网安备 33010602011771号