maze.h

来自「用VC写的」· C头文件 代码 · 共 53 行

H
53
字号
#ifndef MAZE_H
#define MAZE_H


#define STACK_INIT_SIZE 100
#define STACKINCREMENT 10
//#define SElemType     char    
#define OVERFLOW   -2
//#define ERROR   -1
#define OK    1
#define TRUE  1
#define FALSE 0

typedef CString MazeType ;
typedef int Status ;

typedef struct{
public:
	int x ;
	int y ;
//	bool operator==(const PosType &) ;
}PosType;


/*
bool PosType::operator ==(const PosType &Current)
{
	if ((x == Current.x) && (y==Current.y) )return TRUE ;

	return FALSE ;
}*/

typedef struct  {
	int ord ;
	PosType seat ;
	int di ;
}SElemType;



 

typedef struct  SqStack{
	SElemType *base ;
	SElemType *top ;
	int stacksize ;
}SqStack;





#endif

⌨️ 快捷键说明

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