lists, classes and inheritance

Is it possible to create a list whose members consist of different classes, which derive from the same base class?

Not exactly, but you can create a list of pointer-to-base-class, which can then point to either the base class or any of the derived classes. The polymorphism tutorial is what you should be looking at for this.
Topic archived. No new replies allowed.