C
Chris Ashley
Say I have a class called TabManager, which has an array of Tab
objects? There is no inheritance or other relationship between them
apart from the TabManager instantiating the tab objects and holding
them in an array. How can the Tab objects call the methods and access
the properties of its TabManager parent? Can I pass a pointer from the
TabManager to the Tab object in its constructor somehow?
objects? There is no inheritance or other relationship between them
apart from the TabManager instantiating the tab objects and holding
them in an array. How can the Tab objects call the methods and access
the properties of its TabManager parent? Can I pass a pointer from the
TabManager to the Tab object in its constructor somehow?