On Jan 7, 2009, at 03:12, Jeremy Pereira wrote:

enum was added to C after typedef. When I first started learning C in the mid 80's (from K & R first edition), typedef already existed as a keyword but enum didn't. In fact, I don't think enum became an official part of C until the first ANSI standard was published.

However, your whole discussion still makes sense with the word struct substituted for enum and I'm sure struct predates typedef.

Thanks for the correction. That would explain why I couldn't find 'enum' in the index of my copy of K & R. :)


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to