Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void printBoard(const Grid& board) {
- for (Grid::const_iterator iter = board.begin(); iter != board.end(); ++iter) {
- GridRow row = *iter;
- for (GridRow::iterator rowIter = row.begin(); rowIter != row.end(); ++rowIter) {
- cout << *rowIter << " ";
- }
- cout << endl;
- }
- }
Add Comment
Please, Sign In to add comment