作者: luckiejacky 時間: 2008-11-13 15:19 標題: [Del]....................................
本帖最後由 luckiejacky 於 2019-6-1 01:51 編輯
[Del]....................................
作者: thinkpanda 時間: 2008-11-13 15:24
原帖由 luckiejacky 於 2008-11-13 15:19 發表
I am coding some sort of thing like this
int rx = this.x;
it results in a compile error...
it is caused by the "this" pointer.
I am using VC++ 6.0, i must use it because my program is a plugin and
c ...
"this" is a pointer, which is not an object.
do you mean
int rx = this->x;
or
int rx = (*this).x;
作者: luckiejacky 時間: 2008-11-13 15:48
本帖最後由 luckiejacky 於 2019-6-1 01:51 編輯
[Del]....................................
作者: luckiejacky 時間: 2008-11-13 15:52
本帖最後由 luckiejacky 於 2019-6-1 01:51 編輯
[Del]....................................

