Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reversing a String




On 31/12/2008, at 4:42 PM, Graham Cox wrote:


On 31 Dec 2008, at 4:35 pm, Graham Cox wrote:

I don't think this is legal


Hmm, seems C99 allows this. I didn't know that - my bad.

--Graham

Ha ha, yes. I resisted trying to explain that because I wouldn't be able to do it properly. I did it once sort of accidentally -- which worked -- then realized that it wasn't supposed to. I queried Uli Kusterer about this via his Masters of The Void site <http://www.masters-of-the-void.com/what-you-need.htm > and he said it was legal with the GCC compiler. I didn't know it was legal in C99.


Ron
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden
References: 
 >Reversing a String (From: "Gabe Shahbazian" <email@hidden>)
 >Re: Reversing a String (From: Ron Fleckner <email@hidden>)
 >Re: Reversing a String (From: Graham Cox <email@hidden>)
 >Re: Reversing a String (From: Graham Cox <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.