Hey, quick question.
I want to make a Class and a few SubClasses.
Then I want to make a dynamic Container for these SubClasses.
All these SubClasses are going to have a function that the Container is going to call.
But I expect to add more SubClasses later, so I don't want to write anything specific to those classes in Container.
What is the best way of handling this situation?
I know malloc and all that, so you don't need to treat any suggestions as too, too simple.
I just want Container to have some kind of list of these SubClasses and to be able to call a function
in this list of varying classes.