pointstrs.h
来自「这个程序是一个六子棋对弈引擎」· C头文件 代码 · 共 24 行
H
24 行
#ifndef POINTSTRS
#define POINTSTRS
#include "chList.h"
#include "Define.h"
class PointStrs
{
private:
int numberofline[1000];
int chesstype;
public:
PointStrs();
void SetType(int type); //设置存储的为白子或黑子
int KnowType(); //获悉
void UpDate(chList list,STONEMOVE p);
void UpDate(chList list,STONEPOS s);
void SearchFive(int out[],int &count);
void SearchFour(int out[],int &count); //找其中有没有4,有的话记录下在chList中的位置,并几下个数
void SearchThree(int out[],int &count);
void SearchTwo(int out[],int &count);
void SearchOne(int out[],int &count);
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?