chess.h
来自「任意相互不捕捉皇后生成源程序(类似相互不捕捉八皇后)」· C头文件 代码 · 共 38 行
H
38 行
// Chess.h: interface for the CChess class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CHESS_H__2F018FA8_4BDF_4EB2_9E21_1F62DF4C9DB1__INCLUDED_)
#define AFX_CHESS_H__2F018FA8_4BDF_4EB2_9E21_1F62DF4C9DB1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
const int resCount = 1000 ;
class CChess
{
public:
CChess();
virtual ~CChess();
int N;
char **Grid;
int *resOne;
int *res[resCount];
int DispNo;
int DispNoMax;
void go();
bool CChessCapture();
void CChessMalloc();
void CChessFree();
void Draw(CDC* pDC);
};
#endif // !defined(AFX_CHESS_H__2F018FA8_4BDF_4EB2_9E21_1F62DF4C9DB1__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?