⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hello.h

📁 用递归算法和非递归算法实现的简单的“迷宫”程序
💻 H
字号:
#ifndef HELLO_H_
#define HELLO_H_
#include <iostream>
#include <stdlib.h>
#include <stack>
using namespace std;


#define ROW  6
#define COL  6


//迷宫类的声明
class Maze {
//protected:
	public:
	int maze[ROW][COL];    //迷宫数组

	Maze();
	int solve(int i, int j);//递归求解迷宫
	int no_recurve(int i,int j);
	void PrintPath();     //打印路径
};

#endif

⌨️ 快捷键说明

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