plib.h

来自「八皇后问题」· C头文件 代码 · 共 23 行

H
23
字号
//====================================================================
//	DECLARATION OF THE ENUMERATION AND STRUCT
//====================================================================

#ifndef PLIB_H
#define PLIB_H

#include <Graphics.hpp>

#define IMGLEN    50
#define GRIDCOUNT 8

enum QImage{QNONE,QUEEN,TQUEEN,ERRQUEEN,QPOINT};

struct QPoint
{
	int    X;		//The X coordinate value of the point
	int    Y;		//The Y coordinate value of the point
	int    ColPos;	//The position of the queen
	TColor COLOR;	//The color of the grid
};

#endif

⌨️ 快捷键说明

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