Created
November 19, 2012 04:43
-
-
Save trevorrjohn/4109015 to your computer and use it in GitHub Desktop.
A5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Position { | |
char value; | |
// some other attributes | |
}; | |
class Board { | |
public: | |
Board(); | |
Board(string filename); //another constructor given a filename | |
~Board(); | |
private: | |
Position board[ROWS][COLS]; | |
// more methods | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment