Soldato
- Joined
- 23 May 2005
- Posts
- 2,964
- Location
- Auckland, New Zealand
instead of this:
Tile * Grid = new Tile[GRIDWIDTH*GRIDHEIGHT];
I'd like a 2D array but this doesn't work:
Tile * Grid = new Tile[GRIDWIDTH][GRIDHEIGHT];
Anyone care to help? I know theres probably an easy solution to this.
Joe
Tile * Grid = new Tile[GRIDWIDTH*GRIDHEIGHT];
I'd like a 2D array but this doesn't work:
Tile * Grid = new Tile[GRIDWIDTH][GRIDHEIGHT];
Anyone care to help? I know theres probably an easy solution to this.
Joe
