M
Marko
I have abstract superclass named Element, and several subclasses
derived from it: And, Or, Nand, Nor...
I have method which has to take 2 subclasses of element as its
parameters types.
Can't use void myFunction(Element& e1,Element& e2); prototype because
I am trying to pass it objects of class And or any other subclass.
Need help..
derived from it: And, Or, Nand, Nor...
I have method which has to take 2 subclasses of element as its
parameters types.
Can't use void myFunction(Element& e1,Element& e2); prototype because
I am trying to pass it objects of class And or any other subclass.
Need help..