pass two dimensional array to a method C++
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4810664/how-do-i-use-arrays-in-c">How do I use arrays in C++?</a>  </p>
</blockquote>



<p>I am not sure if how to do this in C++:</p>

<pre><code>main()
{
   float array[5][4];   

   transpose(array); 
}

void transpose(float** array);
</code></pre>

<p>=> I got some some compilation error: <code>vector&lt;KeypointMatch, std::allocator&lt;KeypointMatch&gt; &gt;</code></p>

<p>How can I pass the variable of two dimensional array to a method in C++?</p>

<p>Thanks in advance.</p>
