delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/10/14:15:29

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: A pointer of variable type - is it possible?
Date: Thu, 10 Oct 1996 08:44:56 -0700
Organization: Alcyone Systems
Lines: 15
Message-ID: <325D19F8.3EB97231@alcyone.com>
References: <325379bb DOT 732349 AT news DOT direct DOT ca>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.

-- 
                             Erik Max Francis | max AT alcyone DOT com
                              Alcyone Systems | http://www.alcyone.com/max/
                         San Jose, California | 37 20 07 N 121 53 38 W
                                 &tSftDotIotE | R^4: the 4th R is respect

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019