by Howard Hinnant <hinnant@[EMAIL PROTECTED]
>
Aug 11, 2005 at 02:20 PM
In article <h%IKe.4092$Je.2821@[EMAIL PROTECTED]
>,
"Paul" <remove_this_its_just_paul@[EMAIL PROTECTED]
> wrote:
> "Graeme Perrow" <gperrow@[EMAIL PROTECTED]
> wrote in message
> news:1123766757.458479.14640@[EMAIL PROTECTED]
> > I'm using CW 7 with PDK 4 for NetWare, and I'm having trouble with
this
> > trivial program:
> >
> > int main( int, char ** )
> > {
> > int or = 3;
> > return 0;
> > }
> >
> > Obviously "or" is a reserved word, though I don't know why. Watcom and
> > Microsoft have no problem with this program.
> >
> > Is there a list of all the reserved words?
> >
>
> Google "C reserved words"
>
> "or" isn't part of the standard (I seemed to remember it was, actually,
but
> it's not on the list.) It may be defined somewhere in a library or as
an
> extension to someone's compiler. Look thru the CW documentation.
"or" is a C++ reserved word. See 2.11p2.
-Howard