2 dimensional array as a function parameter
How does one pass a 2 dimensional array to a function and modify it in the function. I thought I knew this.
For example a function that modifies a one dimensional array is declared as
Now for an array with 2 rows and 3 columns I have
void do_something ( double array);
// and I can call it with
do_something(array); // for some
//define function that takes this as parameter
// dope. How do I call do_something???
do_something(array); // gives wrong answer