c++ Programming Glossary: derivedfunction
C++: Derived + Base class implement a single interface? http://stackoverflow.com/questions/290913/c-derived-base-class-implement-a-single-interface Interface public virtual void BaseFunction 0 virtual void DerivedFunction 0 class Base public virtual void BaseFunction class Derived.. class Derived public Base public Interface public void DerivedFunction void main Derived derived This fails because Derived can not.. class Derived public Base public Interface public void DerivedFunction void BaseFunction Base BaseFunction Is there any better solution..
|