Afrow UK
07-17-2005, 05:04 PM
I'm having real trouble with this.
I assumed that
char *myArray[10][10] would make a 10 row array each with 10 columns. However it just makes a single dimension array of 10 rows that can have 10 characters in each.
How can I go about having a 2D array of 10 rows and 10 columns?
<vector> doesn't seem to exist, nor System array and MSDN only seems to reference standard C++.
I also do not have the manual that should come my Visual Studio 2003 (for some reason it wouldn't install).
Cheers
-Stu
I assumed that
char *myArray[10][10] would make a 10 row array each with 10 columns. However it just makes a single dimension array of 10 rows that can have 10 characters in each.
How can I go about having a 2D array of 10 rows and 10 columns?
<vector> doesn't seem to exist, nor System array and MSDN only seems to reference standard C++.
I also do not have the manual that should come my Visual Studio 2003 (for some reason it wouldn't install).
Cheers
-Stu