delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/31/17:40:15

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 'with' equvalent
Date: Thu, 31 Dec 1998 14:32:01 -0800
Organization: Alcyone Systems
Lines: 19
Message-ID: <368BFB61.165A73A4@alcyone.com>
References: <368BF2D5 DOT E057F369 AT immediate DOT net>
NNTP-Posting-Host: charmaine.alcyone.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.34 i686)
X-Accept-Language: en, eo
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Alex Lowe wrote:

> Is there an equivalent in C or C++ to do this?

No, unless you simply want to have a pointer to the original
class/struct, which doesn't gain you much.

When you do a lot of programming, you will learn not to worry about lots
of typing.  Saving on typing often makes things tend to be less readable
(even to yourself later) rather than moreso.

-- 
Erik Max Francis / email max AT alcyone DOT com / whois mf303 / icq 16063900
Alcyone Systems / irc maxxon (efnet) / finger max AT finger DOT alcyone DOT com
  San Jose, CA / languages En, Eo / web http://www.alcyone.com/max/
          USA / icbm 37 20 07 N 121 53 38 W / &tSftDotIotE
             \
            / Courage is the fear of being thought a coward.
           / Horace Smith

- Raw text -


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