Is there an array[x][y][z] in C++ (i.e TRIPLE ARRAY)???

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jan 2005
Posts: 188
Reputation: Fasola is an unknown quantity at this point 
Solved Threads: 0
Fasola Fasola is offline Offline
Junior Poster

Is there an array[x][y][z] in C++ (i.e TRIPLE ARRAY)???

 
0
  #1
Mar 26th, 2005
I know about double arrays but haven't heard of a triple array
It maybe a stupid question, but do they exist?

example (obviously not real code):

X = length
Y = width
Z = height

array[x][y][z] = some point located somewhere in the area of a cude

OR

have you seen "Stargate" where the genius discovers that the stargate used 8 symbols to give you the coordinates of another stargate somewhere in space? If you haven't seen Stargate or don't remember, he used a 3 dimensional diagram of a cude (which represented a block of space in the universe), then he took 6 points one on each of the sides of the cude to locate a 7th point (i.e. location of the stargate in space) somewhere within the cude (or space/the universe). After that he used an 8th point, the point of origion (i.e. the stargate on earth). Then he drew a line from point 8 to point 7 to represent the path traveled from earth to some point in space

With all that in mind

could you have this type of an array???:

A= side_1
B= side_2
C= side_3
D= side_4
E= side_5
F= side_6
X = destination
Y = point_of_origion

array[A][B][C][D][E][F][X][Y]


JUST A THOUGHT!!!!!!!!!!!!!!!!
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 4,389
Reputation: Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future 
Solved Threads: 244
Team Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: Is there an array[x][y][z] in C++ (i.e TRIPLE ARRAY)???

 
0
  #2
Mar 26th, 2005
Originally Posted by Fasola
I know about double arrays but haven't heard of a triple array
It maybe a stupid question, but do they exist?


could you have this type of an array???:
Yes you can.
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 489
Reputation: Acidburn is an unknown quantity at this point 
Solved Threads: 5
Acidburn Acidburn is offline Offline
Posting Pro in Training

Re: Is there an array[x][y][z] in C++ (i.e TRIPLE ARRAY)???

 
0
  #3
Mar 26th, 2005
your array could be of anysize... Just remember you have to keep drawing down on paper.
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 188
Reputation: Fasola is an unknown quantity at this point 
Solved Threads: 0
Fasola Fasola is offline Offline
Junior Poster

Re: Is there an array[x][y][z] in C++ (i.e TRIPLE ARRAY)???

 
0
  #4
Mar 28th, 2005
Originally Posted by Acidburn
Just remember you have to keep drawing down on paper.
What do you mean? Planing?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC