Original Post
Is there an easy way to dynamic allocation a base class and derived class all in one.
What if MyClass is the base class but you want to include the derived clases too.
MyClass *NewClass = new MyClass[80];
how can you do that?
is there an easy way of doing that?
Becuase my derived classes all ready are dynamic allocation.
So I will run in to problems dynamic allocationing my base class.
but if I could dynamic allocation my base class and all my dirived classes it would be a cake walk.
but I don''t think it''s possible.
base class[80] - dirived[3]
kind of a mult-arry classes?