ok so i can do this
Code:
CMinesweeper::CMinesweeper() : ROW(9), COL(9) {}
ok can i do this
Code:
public:
struct Cell { blah blah};
Cell board[ROW][COL];
1st question can i initialize a structure and array like this.
2nd since row and col arent initialized a number until i do the constructor code in the .cpp file will there be an error. How can i have constants already initialized, should i stick with #defines...C# makes this much easier.
Sorry for these noob questions...im use to C#/Java techniques