overall.h

来自「用c++完成的五子棋」· C头文件 代码 · 共 30 行

H
30
字号
// Overall.h: interface for the Overall class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_OVERALL_H__5AB8BE54_13D9_4705_A701_978D94B71083__INCLUDED_)
#define AFX_OVERALL_H__5AB8BE54_13D9_4705_A701_978D94B71083__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//棋盘所拥有的类
class Overall  
{
public:
	Overall();
	virtual ~Overall();
	int allqipan[18][18];//正规企盼的数据
	int qipantemp[18][18];//试走的数据
	int tempjustxy;//see .cpp blow
	void cleartemp();
	void clear();
	int winchanglian(int x,int y);
	int huosi(int x,int y);
	int shuangsan(int x,int y);
	int shuangsi(int x,int y);

};

#endif // !defined(AFX_OVERALL_H__5AB8BE54_13D9_4705_A701_978D94B71083__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?