Topic: ERROR in Annotated C++ Reference Manual?


Author: clamage@Eng.Sun.COM (Steve Clamage)
Date: 18 Nov 1994 17:11:05 GMT
Raw View
In article 94Nov17135738@python.es.ele.tue.nl, paulvl@python.es.ele.tue.nl (Paul van Loon) writes:
>When reading my copy of the AC++RM again,
>I noticed something I suspect to be an error.
>Can anyone confirm or deny the following:
>
>In the chapter about trigrams (?) there
>is a list of all defined trigrams
>but ??< and ??> are not on the list.
>The example program below the list
>uses ??< for { and ??> for }.
>Therefore the list is not
>complete and should contain ??< for {
>and ??> for }

Yes, it's an error. The list is supposed to be the same as in ISO C.

>The copy of the AC++RM I have is the first edition.

There is only one edition, although there have been many printings. Each
new printing has corrected minor errors missed in earlier printings.
---
Steve Clamage, stephen.clamage@eng.sun.com






Author: paulvl@python.es.ele.tue.nl (Paul van Loon)
Date: 17 Nov 1994 12:57:38 GMT
Raw View
When reading my copy of the AC++RM again,
I noticed something I suspect to be an error.
Can anyone confirm or deny the following:

In the chapter about trigrams (?) there
is a list of all defined trigrams
but ??< and ??> are not on the list.
The example program below the list
uses ??< for { and ??> for }.
Therefore the list is not
complete and should contain ??< for {
and ??> for }

The copy of the AC++RM I have is the first edition.

Greetings from Paul.
--
================================================================================
==Paul=van=Loon=(paulvl@es.ele.tue.nl)==UnDeR=CoNsTrUcTiO=======================
==Information=Engeneering=student========================N======================
================================================================================




Author: hdsimms@teleport.com (Howard Simms)
Date: Thu, 17 Nov 1994 23:30:18 UNDEFINED
Raw View
In article <PAULVL.94Nov17135738@python.es.ele.tue.nl> paulvl@python.es.ele.tue.nl (Paul van Loon) writes:
>When reading my copy of the AC++RM again,
>I noticed something I suspect to be an error.
>Can anyone confirm or deny the following:

>In the chapter about trigrams (?) there
>is a list of all defined trigrams

What you are referring to are called "trigraphs".

>but ??< and ??> are not on the list.
>The example program below the list
>uses ??< for { and ??> for }.
>Therefore the list is not
>complete and should contain ??< for {
>and ??> for }

The copy of the ARM I have lists the full set of trigraph
sequences (sec 16.2, p. 371).  I've duplicated it here for
your convenience, where the trigraph is followed by the
equivalent character:

  ??=  #        ??(  [       ??<  {
  ??/  \        ??)  ]       ??>  }
  ??*  ^        ??!  |       ??-  ~

I hope this helps (or at least was an answer to your
question).

Howard Simms