Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef TTT_FIELD2D__H
- #define TTT_FIELD2D__H
- #include<iostream>
- class TTT_field2d_
- {
- const static unsigned int HIGTH = 3;
- const static unsigned int WIDTH = 3;
- private:
- int **FIeld[][WIDTH];
- public:
- TTT_field2d_();
- void place (int _h, int _w, int _player);
- void AImove();
- void check();
- int ret(int _h, int _w);
- friend std::ostream & operator<< (std::ostream & os, const TTT_field2d_ & _field );
- };
- #endif // TTT_FIELD2D__H
Advertisement
Add Comment
Please, Sign In to add comment