Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 15th, 2012  |  syntax: C++  |  size: 0.30 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #ifndef GAMEBOARD_H
  2. #define GAMEBOARD_H
  3.  
  4.  
  5. class gameboard
  6. {
  7.     private:
  8.         static const int ROW = 10;
  9.         static const int COL = 10;
  10.     public:
  11.         gameboard();
  12.         void draw();
  13.         void show();
  14.     protected:
  15.         char board[ROW][COL];
  16.  
  17. };
  18.  
  19. #endif // GAMEBOARD_H