Create 2D array with "new"?
<p>I want to create a 2D array like the following.</p>

<pre><code>char **dog = new char[480][640];
</code></pre>

<p>But it errors:</p>

<pre><code>error C2440: 'initializing' : cannot convert from 'char (*)[640]' to 'char ** '
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
</code></pre>

<p>what do I need to do using "new"?  (not using calloc, malloc or <code>char dog[480][640];</code>)</p>
