It's hard to give a precise title but here is the question in detail: I have a class, something like this:
and another class that contains objects of classA:Code:class classA{ public: void fnA(); ... };
Now is it possible to access B1.vA from B1.A1.fnA() through some kind of pointer chain like this->parent->vA ? If so, how? Thanks!Code:class classB{ public: classA A1; classA A2; classA A3; vector<classA*> vA; ... }; classB B1;