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

📄 map.h

📁 这是帮那留学生做的第二个作业,里面有详细的文档资料,要求运用到 链表 图 和最短路径算法. Dijkstra
💻 H
字号:
// map.h: interface for the map class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAP_H__9B6D192D_7511_414B_B378_2F3DDB6161C5__INCLUDED_)
#define AFX_MAP_H__9B6D192D_7511_414B_B378_2F3DDB6161C5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "map.h"
#include "town.h"
#include "Dijkstra.h"
#define Infinity 60000

class map  
{
public:
	map();
	virtual ~map();
	bool loadfile(char *filename);
	void printmap();
	void SetStart(int m_start);
private:
	int number;
	town *towns;
	int start;
};

#endif // !defined(AFX_MAP_H__9B6D192D_7511_414B_B378_2F3DDB6161C5__INCLUDED_)

⌨️ 快捷键说明

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