Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

"n" Dimensions

Name: Anonymous 2011-10-02 22:21

I have to create an a multi-dimensional Array of "n" dimensions in JAVA, and was wondering if anyone had any tips for getting this done.  I am not asking for code just some ideas of how I can go about doing this.  Thank you in advance.

Name: Anonymous 2011-10-03 0:46

>>6

We all had to start out somewhere, amirite?

Heya OP, Say you have an 5 dimensional array where the length in each dimension is 10, and say you want to represent this array as a one dimensional array. Where do you think the slot, (3, 5, 2, 3, 1) should go in the one dimensional array?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List