/*** Saeteurn, San ect_sfs@ecst.csuchico.edu 15b Program 6: Drawing Program ***/ #include "grid.h" Grid::Grid() { for(int y=0;y<24;y++) { for(int x=0;x<60;x++) { m_plane[y][x] = ' '; } } } bool Grid::set(int x, int y, char c) { m_plane[y][x] = c; } void Grid::print() { for(int y=0;y<24;y++) { for(int x=0;x<60;x++) { cout << m_plane[y][x]; } cout << endl; } }