What's "this", really?

Generally speaking, in object oriented programming languages, "this" is a keyword for referencing the object "itself". however, if I write in this way

struct DDF { struct { int fantansy } dark; } deep;
void makeFantansy(DDF *this, int value) { this->dark.fantansy = value; }

What's the difference between this and "Classes" grammer~ga


预览:

取消