Thread: Matrix?
View Single Post
  #7  
Old 01-21-2003, 06:34 AM
MasterNuke MasterNuke is offline
Ed
MasterNuke's Avatar
Join Date: May 2002
Location: Boca Raton, Florida
Posts: 1,473
MasterNuke will become famous soon enough
c++ does it like
vartype varname [index] [index];
and if you want to go insaine with dimentions and example...
int insaine [99] [99] [99] [99] [99] [99]; //6 dimentional matrix

and referenced like...
insaine [12] [34] [56] [78] [90] [27];

but all a matrix is is an array of arrays... but it does add a new 'dimention' of possibilities XD

heh... hi im Ed... and this is my first post in the Scripting boards

but anyway... it'd be easier to use an array for each column... a string would get you involved with those annoying string segment codes that mess with yer head
Reply With Quote