Original Post
why wont this work, i get the following error:
error C2059: syntax error : ''{
error C2334: unexpected token(s) preceding ''{''; skipping apparent function body
#pragma once
#include "CC_Cell.h"
class CC_Board
{
public:
CC_Board(void);
~CC_Board(void);
// draw the board
void draw(void);
private:
CC_Cell * cells[17][13];
int cell_map[][2] = { //error is here
{ 1, 2 },
{ 3, 4 }
};
};