The right way to create pointer to pointer object?
<p>What is the right way to create a pointer to pointer object? Like for example,</p>

<pre><code>int **foo;
foo = new int[4][4];
</code></pre>

<p>Then the compiler gives me an error saying "cannot convert from int (*)[4] to int **.</p>

<p>Thanks.</p>
