dynamic multidimensional arrays as function arguments

This is a discussion on dynamic multidimensional arrays as function arguments within the C++ Programming forums, part of the General Programming Boards category; I have the following array:
Code:
double **A;
A = new double*[s];
for (int i=0;i<s;i++)
A[i]=new double[3];
I want to ...