Keywords - was Re: C question for you old guys ;-)
Keywords - was Re: C question for you old guys ;-)
- Subject: Keywords - was Re: C question for you old guys ;-)
- From: Danny Swarzman <email@hidden>
- Date: Thu, 12 Jun 2003 15:58:18 -0700
Can anyone point to a web site with the C programming language standard.
Apple's site says that objective c is based on K&R 2. Is 3 the language of
Project Builder? Anyone know about CodeWarrior?
-Danny Swarzman
At 20:18 -0700 6/11/03, Andrew Pinski wrote:
>
On Wednesday, Jun 11, 2003, at 20:32 US/Eastern, Matthew Toia wrote:
>
>
>> #define and &&
>
>> #define or ||
>
>> #define not !
>
>>
>
>> are actually C++ standard keywords now. (i.e. can be used without any
>
>> macros)
>
>
>
> g++ doesn't seem to agree with you, though it makes _some_ sense.
>
>
>
>
Which version, 3.0 included them as keywords.
>
>
In fact it was added by this patch:
>
Thu Nov 17 15:30:50 1994 Mike Stump <email@hidden>
>
>
* gxx.gperf, hash.h, lex.c (init_lex, real_yylex), parse.y: Add
>
new
>
ANSI keywords and, and_eq, bitand, bitor, explicit, namespace,
>
not,
>
not_eq, or, or_eq, typename, using, xor, xor_eq to g++. Still
>
need
>
to add support for explicit, namespace, typename, and using,
>
support
>
for the rest is already in.
>
>
Thanks,
>
Andrew Pinski
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.