| | |
Is there an array[x][y][z] in C++ (i.e TRIPLE ARRAY)???
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2005
Posts: 188
Reputation:
Solved Threads: 0
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!!!!!!!!!!!!!!!!
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!!!!!!!!!!!!!!!!
•
•
•
•
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???:
"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
![]() |
Similar Threads
- Can I ghost a RAID array??? (Windows NT / 2000 / XP)
- Array limit (C)
- struct dynamic 2d array alloc (C)
- string to integer array transformation (C)
- Array (Visual Basic 4 / 5 / 6)
Other Threads in the C++ Forum
- Previous Thread: Accessing a mouse button
- Next Thread: The definiton of "Memory leaks"
| Thread Tools | Search this Thread |
api application array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamiccharacterarray email encryption error file forms fstream function functions game generator getline graph homeworkhelper iamthwee ifstream input int integer java lib linux list loop looping loops map math matrix memory multiple newbie news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates text tree url vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






