C++ multi dimensional array
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3367426/multi-dimensional-array-and-pointers-in-c">Multi-dimensional array and pointers in C++?</a>  </p>
</blockquote>



<p>Hi,
In 1D I can declare an array like,</p>

<pre><code>int *image = new int[W*H];
</code></pre>

<p>But in 2D how can I declare an array?</p>

<pre><code>int *image = new int[W][H]; -- is it wrong??
</code></pre>
