Date: Fri, 11 Oct 1996 09:23:14 +0000 From: Bill Currie Subject: Re: A pointer of variable type - is it possible? To: djgpp AT delorie DOT com Message-id: <325E1202.2DEE@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <325379bb DOT 732349 AT news DOT direct DOT ca> <325D19F8 DOT 3EB97231 AT alcyone DOT com> Erik Max Francis wrote: > > Wesley Terpstra wrote: > > > I have heard about something > > called polymorphic classes. Would this be able to give me the power I > > need? I also noticed an operator called typeof() could this be used > > to make my local information portable, yet fast? If you know a way > > that I could do this, please tell me! :) > > Yes. It's called inheritance. > Don't forget about virtual functions, they make that sort of thing very easy.