Basically I want to create a multidimensional array using a size variable passed to my class but am not sure how to do it.
I've tried doing
//Class header
Tile * gameTile;
//Class cpp
gameTile = new Tile[size][size];
It doesnt mind new Tile[size] but not [size][size]. Why is this?