Lets say i have 3 classes defined.
and then this in the code.
What I want is a single array of pointers where the first elemet can point to A, the second to B, and the third to C.Code:
cMyClassA* A = new cMyClassA;
cMyClassB* B = new cMyClassB;
cMyClassC* C = new cMyClassC;