Multidimensional arrays
Multidimensional arrays
- Subject: Multidimensional arrays
- From: Julio Cesar Silva dos Santos <email@hidden>
- Date: Sun, 19 Jun 2005 11:33:48 -0300
I was wondering if it is possible to create a multidimensional array
in Objective-C the simple way it can be done in C, like this:
static int table[2][10] = {{0,1,2,3,4,5,6,7,8,9},{0,2,4,6,8,1,3,5,7,9}};
I ask this because NSArray are built with objects so I could create
two arrays with the data I want and then a third array to hold the
other two. Am I taking the right approach? Or maybe I should work
with a dictionary with arrays inside?
Thanks for help,
Julio Cesar Santos
email@hidden
eMac 1GHz ComboDrive
640MB RAM
Linux User #359973
_______________________________________________
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