Mail Archives: djgpp/1997/04/10/16:18:27
On 9 Apr 97 at 9:41, Chris Croughton wrote:
> Alaric B. Williams wrote:
> >>operator++(int) is postfix
> >>operator++() is prefix
> >
> >The ugliest syntax hack ever to see the light of day :-(
> Not quite, I think, but close.
Oh, I forgot COBOL!
> However, it's certainly one of
> the most counter-intuitive ones - the first looks prefix, with
> the parameter after the operator, and the second looks postfix
> with the variable obviously before (as in x.operator++()).
Yeah :-(
I like Prolog syntax - can't remember it right now, but you
tell it operators are one of:
xfy
yfx
xf
fx
Where f represents the operator, x represents the operand
evaluated first (so we can specify left or right associativity
with the xfy and yfx versions), and y is an optional other
operand. Easy...
> On the same subject, is there a decent C++ book which comes
> close to the current draft standard?
To be honest, I haven't a clue! I can recommend a good Scheme
book, since that's what I'm learning...
> The ones I've seen seem
> to be several years out of date. The only recent standard I've
> come across is that on the Web at http://www.setech.com/x3.html
> which is the current discussion document, but that's reference
> and doesn't really discuss it in an easily understood way (it
> took me over an hour to find the 'delete' operator, for instance).
Yuck! C++ ain't one of the best documented languages in the world...
> >(Windows for Early Warning and Defence User's manual P26)
> Oh yes, I looked at your site. Do you have any more of the
> manual than the excerpts on your page?
Only when I get them from my inside source at Macrosoft (he's got a prerelease
beta under a nondisclosure agreement, so I can't reveal his name).
> I put in a link from
> my Web page (http://www.keris.demon.co.uk/), and at least
> one person has followed it and wants a copy of WfEWD...
A Macrosoft representative has been quoted as saying that WfEWaD will
be released several weeks ago - they really go in for pushing the release
date back..
> Chris
ABW
--
Alaric B. Williams (alaric AT abwillms DOT demon DOT co DOT uk)
---<## OpenDOS FAQ ##>---
Plain HTML: http://www.delorie.com/opendos/faq/
- Raw text -