Re: Future Objective-C changes
Re: Future Objective-C changes
- Subject: Re: Future Objective-C changes
- From: Joe Chan <email@hidden>
- Date: Wed, 21 May 2003 11:10:36 -0400
This was changed in C++. Given the topic was about Obj-C++, I thought
that a relevant distinction.
On Wednesday, May 21, 2003, at 10:59 AM, Ben Dougall wrote:
Actually it is a definition. A statement such as
int i;
is both a definition and declaration.
i'm reading the k&r book at the moment and from that:
declarations specify the interpretation given to each identifier; they
do not necessarily reserve storage space associated with the
identifier. declarations that reserve storage space are called
definitions.
so int x; is not a definition, just a declaration. int x = 0; is a
definition. a declaration like int x; does not set aside space.
--
Joe Chan
Sun Microsystems, Inc.
Burlington, MA
Tel: (781) 442-0809
_______________________________________________
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.