9/2/08 2:25 PM, also sprach [EMAIL PROTECTED]:

> I'm having a devil of a time trying to figure out what seems to be a
> pretty basic scenario: declaring a multidimensional array in the
> interface section of a class when the array dimensions are unknown
> until runtime. Can anyone point me in the right direction with this one?

If you mean C arrays, AFAIK you can't. C99 spec'ed variable length arrays
(VLAs) don't work that way. It will work out, IIRC, that you can only use
them as stack variables. And not static ones either. I believe it's because
of the initialization rule for VLAs.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to