Guest User

Untitled

a guest
Jun 5th, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef TTT_FIELD2D__H
  2. #define TTT_FIELD2D__H
  3.  
  4. #include<iostream>
  5. class TTT_field2d_
  6. {
  7.     const static unsigned int HIGTH = 3;
  8.     const static unsigned int WIDTH = 3;
  9.  
  10. private:
  11.     int **FIeld[][WIDTH];
  12.  
  13. public:
  14.     TTT_field2d_();
  15.     void place (int  _h, int _w, int _player);
  16.     void AImove();
  17.     void check();
  18.     int ret(int _h, int _w);
  19.  
  20.     friend std::ostream & operator<< (std::ostream & os, const TTT_field2d_ & _field );
  21. };
  22.  
  23. #endif // TTT_FIELD2D__H
Advertisement
Add Comment
Please, Sign In to add comment