Seems like I found a solution afterall, cheers anyways.
I guess you can delete this whole thread... =)
Seems like I found a solution afterall, cheers anyways.
I guess you can delete this whole thread... =)
Last edited by mmocb659d1a469; 2013-01-10 at 07:02 PM.
You should edit your post with the question/answer for people who find this through google.
There's nothing worse spending hours searching for an answer on google when all you find are forum topics with people who respond with
orJust google it
nvm, sorry figured it out
(This signature was removed for violation of the Avatar & Signature Guidelines)
For those wanting the answer, a 2D array is essentially an array of arrays, where in each element of the outer array points to a different inner array.
It is declared like such:
Multidimensional arrays have a wide range of uses, but 2D arrays lend themselves exceptionally well to situations where you would organize the information as a grid. You can also add more than 2 dimensions to a multidimensional array.Code:int[][] myArray = new int[SizeOfOuterArray][SizeOfInnerArray];
Consider the grid:
Let's imagine this is the visual representation of a char[3][3] array. Element[0][0] is A, and element [2][2] is I, and so on.Code:A B C D E F G H I
Last edited by Shamypriest; 2013-01-10 at 10:25 PM.