Subscribe ( )

iPhone Programming Tutorials

 

Forum

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

You must be logged in to post Login Register

Search 

Home Forums General Problem with 2D Array

Problem with 2D Array

User Post

11:47 pm
February 10, 2009


jitesh61

iCoder

posts 8

1

Hi all,


I m having problem with 2D array. I want to insert some values into the 2D array in for loop at particular index, but fail to do that.  this is what I want to do 

inputArray = {{2,3}, {4,5}};


for(i=0; i<2; i ++) {

for(j=0; j<2; j++) {

outputArray[i][j] = inputArray[i][j];

}

}

How to achieve this in Objective-C.


About the iCodeBlog forum

Currently Online:

2 Guests

Maximum Online: 25

Forums:

Groups: 2

Forums: 6

Topics: 310

Posts: 748

Members:

There are 660 members

There are 1 guests


Brandon has made 87 posts

Top Posters:

bobcubsfan - 53

crazyiez - 30

VertigoSol - 26

Uhu - 17

AdeC - 17

Administrator: Brandon | Moderators: VertigoSol


© - Version 3.1.4 (Build 357)