RE: multiple inheritance question - c++ |
||
![]() ![]() Epsilon Maj Pain in the Ass The problem is, that draw() requires the member variables/functions you access to be within its scope, aka defined in the Drawable. So either declare itsLength() and itsWidth() in Drawable or make a virtual function that gets overloaded in Rectangle. Replies:
|
||
| CyberArmy::Forum v0.6 Generated In 0.00503 seconds |