Create an array using a pointer
<p>Basically I want to create a multidimensional array using a size variable passed to my class but am not sure how to do it.</p>

<p>I've tried doing</p>

<pre><code>//Class header
Tile * gameTile;

//Class cpp
gameTile = new Tile[size][size];
</code></pre>

<p>It doesnt mind <code>new Tile[size]</code> but not <code>[size][size]</code>. Why is this?</p>
