Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Windows > Re: Reserved wo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 289 of 318
Post > Topic >>

Re: Reserved word list for CW 7 (NW)

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




 3 Posts in Topic:
Reserved word list for CW 7 (NW)
"Graeme Perrow"  2005-08-11 06:25:57 
Re: Reserved word list for CW 7 (NW)
"Paul" <remo  2005-08-11 14:10:21 
Re: Reserved word list for CW 7 (NW)
Howard Hinnant <hinnan  2005-08-11 14:20:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 3:25:22 CDT 2008.