Re: multidimensional arrays
Re: multidimensional arrays
- Subject: Re: multidimensional arrays
- From: Glen Simmons <email@hidden>
- Date: Mon, 14 Mar 2005 14:49:43 -0600
On 14 Mar, 2005, at 1:56 PM, Serge Meynard wrote:
You do realize that C fully supports multi-dimensional arrays, you
can do myArray[x][y] in plain C (and Objective-C is super set of C).
Only if your array size is fixed at compile-time. I'm talking about
arrays whose size is only known at execution time, and are allocated
dynamically.
Read more than the first sentence. The next sentence was "In a couple
of lines of code one could use NSData to manage the memory for the
array..." i.e. dynamic allocation.
Glen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden