Re: Declaring multidimensional arrays in obj-c

2008-09-03 Thread Ken Ferry
On Tue, Sep 2, 2008 at 2:35 PM, Don Arnel <[EMAIL PROTECTED]> wrote: > Thanks, everyone. I guess I'm going the pointer/malloc way. This is surely the right thing to do. However, it _is_ possible to allocate a dynamic amount of space inline with your object, it just doesn't play well with anyone e

Re: Declaring multidimensional arrays in obj-c

2008-09-02 Thread Don Arnel
Thanks, everyone. I guess I'm going the pointer/malloc way. On Sep 2, 2008, at 5:27 PM, Keary Suska wrote: 9/2/08 2:57 PM, also sprach [EMAIL PROTECTED]: I don't see the problem... Just use a pointer to a pointer to a pointer to a ... Every array in C is just a hidden pointer and if you try t

Re: Declaring multidimensional arrays in obj-c

2008-09-02 Thread Keary Suska
9/2/08 2:57 PM, also sprach [EMAIL PROTECTED]: > I don't see the problem... > Just use a pointer to a pointer to a pointer to a ... > Every array in C is just a hidden pointer and if you try to > dynamically allocate an array in C then you are left only with one > option: malloc, calloc, realloc

re: Declaring multidimensional arrays in obj-c

2008-09-02 Thread Justin Carlson
Hello all, 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? Hi Don,

Re: Declaring multidimensional arrays in obj-c

2008-09-02 Thread Filip van der Meeren
I don't see the problem... Just use a pointer to a pointer to a pointer to a ... Every array in C is just a hidden pointer and if you try to dynamically allocate an array in C then you are left only with one option: malloc, calloc, realloc On 02 Sep 2008, at 22:49, Keary Suska wrote: 9/2/0

Re: Declaring multidimensional arrays in obj-c

2008-09-02 Thread Bill Bumgarner
On Sep 2, 2008, at 1:49 PM, Keary Suska wrote: 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

Re: Declaring multidimensional arrays in obj-c

2008-09-02 Thread Keary Suska
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

Declaring multidimensional arrays in obj-c

2008-09-02 Thread Don Arnel
Hello all, 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? Than