title: how to code multi-dimensional array in a function prototype in c++
body: <p>When I create a multidimensional array like value[][],and pass it to the function.But I am quite confused about how to write a prototype for this function,because there is an error message like:</p>
  
  <pre><code>   error: declaration of 'value' as multidimensional array must have bounds for all dimensions except the first|
  
  
     //function prototype;
    void matrix(double s[],int j,int n,double value[][],double alpha[], double beta[], double gamma[]);
    //function
     void matrix(double s[],int j,int n,double value[][],double alpha[], double beta[],double gamma[]){...}
  </code></pre>
  
  <p>help,How to write it correctly?</p>