Having trouble inheriting from a base class, where the base class has a custom constructor (one or more params), and the derived class does not.

Even if I change the derived class constructor to match params.

Posted on 2004-10-06 10:20:03 by Homer
Since the base has a constructor, it's relevant to feed this data in the derived constructor. The definition of the derived constructor should be expanded:

void base: X,Y

void derived: X,Y,Z : X,Y

or actually you will need this:
void derived: : 0,0
Posted on 2004-10-07 10:52:02 by Ultrano