town.h

来自「这是帮那留学生做的第二个作业,里面有详细的文档资料,要求运用到 链表 图 和最短」· C头文件 代码 · 共 28 行

H
28
字号
// town.h: interface for the town class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TOWN_H__43D781A8_93AC_4B07_8827_FA1452AB2792__INCLUDED_)
#define AFX_TOWN_H__43D781A8_93AC_4B07_8827_FA1452AB2792__INCLUDED_

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

#define NULL 0
#include "string.h"
#include "list.h"

class town  
{
public:
	town();
	virtual ~town();
	char *name;
	void SetName(char *m_name);
	list connections;

};

#endif // !defined(AFX_TOWN_H__43D781A8_93AC_4B07_8827_FA1452AB2792__INCLUDED_)

⌨️ 快捷键说明

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