[Challenge]What Am I?

Explain my methods according to the diagram

  • (2 Pages)
  • +
  • 1
  • 2

20 Replies - 2172 Views - Last Post: 23 December 2009 - 12:02 PM

#16 jhouns  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 25
  • View blog
  • Posts: 100
  • Joined: 21-December 09

Re: [Challenge]What Am I?

Posted 22 December 2009 - 05:07 PM

I think i get how your trying to explain it, and yeah i think your right. Each dimension is a point on the diagram and each can hold data. Using this method of drawing out an array you can draw any dimensions (well over 60,000) although why you would want to who knows lol I find this diagram easier to grasp than that of a table which can only easily show up to a 3 dimensional array ie
Array(4)
_
|0|
|1|
|2|
|3|
|4|
-

Array(1,1)
_________
| 0,0 | 0,1|
| 1,0 | 1,1|
------------
etc
Was This Post Helpful? 0
  • +
  • -

#17 ccubed  Icon User is offline

  • It's That Guy
  • member icon

Reputation: 153
  • View blog
  • Posts: 1,394
  • Joined: 13-June 08

Re: [Challenge]What Am I?

Posted 22 December 2009 - 09:51 PM

View Postjhouns, on 22 Dec, 2009 - 04:07 PM, said:

I think i get how your trying to explain it, and yeah i think your right. Each dimension is a point on the diagram and each can hold data.


There's a tutorial for multi-dimensional arrays I wrote.

Also, you're wrong. In an array, only the last dimension holds any actual data. The rest are simply place holders. In a cell 1,1,3. The 3 is the data, 1, 1 only tell you which row of numbers to look at.
Was This Post Helpful? 0
  • +
  • -

#18 OliveOyl3471  Icon User is offline

  • Everybody's crazy but me!
  • member icon

Reputation: 134
  • View blog
  • Posts: 6,581
  • Joined: 11-July 07

Re: [Challenge]What Am I?

Posted 22 December 2009 - 11:19 PM

View Postjhouns, on 22 Dec, 2009 - 09:07 AM, said:

Alright its not a giraffe xD but hahahaha i actually rofl'd and thats why i love dream in code >.<


And that's why we love you, too! :P
Was This Post Helpful? 0
  • +
  • -

#19 GenHornet18  Icon User is offline

  • Darken the Radar

Reputation: 36
  • View blog
  • Posts: 629
  • Joined: 19-October 09

Re: [Challenge]What Am I?

Posted 22 December 2009 - 11:32 PM

a 3 dimensional array, really?

no I like the giraffe response better, that's what I'm going to remember it as.
Was This Post Helpful? 0
  • +
  • -

#20 Choscura  Icon User is offline

  • D.I.C Lover


Reputation: 449
  • View blog
  • Posts: 2,207
  • Joined: 18-October 08

Re: [Challenge]What Am I?

Posted 23 December 2009 - 12:20 AM

I will, from this day forward, always refer to 3-dimensional arrays as 'giraffes'.
Was This Post Helpful? 0
  • +
  • -

#21 jhouns  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 25
  • View blog
  • Posts: 100
  • Joined: 21-December 09

Re: [Challenge]What Am I?

Posted 23 December 2009 - 12:02 PM

i think that is why the world should refer to them as giraffes xD
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2