delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/23/19:05:02

From: broeker AT acp3bf DOT knirsch DOT de (Hans-Bernhard Broeker)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: "for" messages
Date: 23 Nov 1999 12:31:20 +0100
Organization: RWTH Aachen, III. physikalisches Institut B
Lines: 25
Message-ID: <81dtu8$4bi@acp3bf.knirsch.de>
References: <F0458523BAB82511 DOT F75DE6F80A0A31D6 DOT 8D4647641CEFD2ED AT lp DOT airnews DOT net>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 943356684 8145 137.226.32.75 (23 Nov 1999 11:31:24 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 23 Nov 1999 11:31:24 GMT
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Rodeo Red (rodeored AT netstep DOT net) wrote:
> This short example program from "Using C++ by Rob McGregor will not
> complile with djgpp and produces the messages below.  I assume it
> probably does compile on some other compiler so I thought you could tell
> me what's making djgpp puke.

[...]

The code example has been bashed to death, already, so let me give
just one more advice, on a somewhat broader scale: you should consider
getting rid of that book, right now. It's teaching you a programming
language that doesn't exist, any more: pre-ANSI C++. The reason DJGPP
doesn't accept that program was simply that it's too old-fashioned.

Well, actually, you *can* get that program through gcc, by use of some
command line option documented in the 'C++ dialect' chapter of the gcc
documentation. But you shouldn't really do that.

[I continue to wonder how authors and publishing houses can dare to
publish so many books on topics like this, while the target is still
such a rapidly moving one as C++ has been, until the ANSI comittee
finally got through to its decision.]
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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