On 31 Dec 2008, at 4:23 pm, Ron Fleckner wrote:
char reverseChars[stringLength];
Have you tested this? I don't think this is legal - you can't declare a statically sized array with a dynamically computed size. The compiler might let it through because stringLength is declared const, even though it isn't. It might work by chance, but you'll be very close to smashing your stack.
--Graham _______________________________________________ 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