Guest User

Untitled

a guest
Feb 21st, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. void printBoard(const Grid& board) {
  2. for (Grid::const_iterator iter = board.begin(); iter != board.end(); ++iter) {
  3. GridRow row = *iter;
  4. for (GridRow::iterator rowIter = row.begin(); rowIter != row.end(); ++rowIter) {
  5. cout << *rowIter << " ";
  6. }
  7. cout << endl;
  8. }
  9. }
Add Comment
Please, Sign In to add comment