delorie.com/archives/browse.cgi | search |
Message-ID: | <354B2DE4.9981F3C9@uol.com.br> |
Date: | Sat, 02 May 1998 11:29:56 -0300 |
From: | "Juciê Dias Andrade" <jucie AT uol DOT com DOT br> |
MIME-Version: | 1.0 |
To: | Nathan Cournia <nac2b AT frank DOT mtsu DOT edu> |
CC: | djgpp AT delorie DOT com |
Subject: | Re: Inheritance Problem |
References: | <354A206B DOT 586A3F60 AT frank DOT mtsu DOT edu> |
Declare bstClass::SearchTree() as virtual. Every method that possibly will be overriden must be declared "virtual" in the base class. It avoids this kind of problem. []s p.s.: Excuse my English. I'm brasilian. Nathan Cournia escreveu: > > I'm having a problem with inheritance. In my client file I have this > line:
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |