Say I have a class like this:
and another class like thisCode:class Space{ public: Constructor(); // constructor ~Constructor(); private: Kids*P[3]; }; // end class Space
if i had a member function of class Space how could i print what the array of pointers to class Kids points to from that member function in class Space?Code:class Kids{ public: Constructor2(); // constructor ~Constructor2(); private: int friends; int familyMember; }