Mail Archives: djgpp/1996/12/13/21:03:06
Vincent Collura wrote:
>
> Hello,
>
> Im still fooling around with this program and need help. I have a base
> class and
> three other classes that inherit the base class. My problem is that a
> function in
> the base class has to call a function in the inherited class.
> How do you do that in djgpp.
>
> Thanks,
>
> Vincent
This is a sign that your class may require redesign. Maybe you should
consider putting the method in the base class instead. If that doesn't
make sense, maybe the method should not be a class member, rather, an
old fashioned C function.
If you REALLY want to do this, make the method virtual.
-Kevin
- Raw text -