I'm working on my homework for C++, and have a problem. I have a
multi-dimension array, Array1[5][4] that I can't define in the function
declaration and function definition. I keep getting an error. I've tried
the following:
void Sum ( int [][] );
I get an error with this, and also with:
void Sum ( int [] );
The compiler, Microsoft VC6 can't convert the two-dimensional array to a
one-dimension array.
What I'm I doing wrong? I can't find the answer in my notes or the book,
they all deal with one-dimension arrays.
John Howard
multi-dimension array, Array1[5][4] that I can't define in the function
declaration and function definition. I keep getting an error. I've tried
the following:
void Sum ( int [][] );
I get an error with this, and also with:
void Sum ( int [] );
The compiler, Microsoft VC6 can't convert the two-dimensional array to a
one-dimension array.
What I'm I doing wrong? I can't find the answer in my notes or the book,
they all deal with one-dimension arrays.
John Howard
Comment