📄 map.h
字号:
#ifndef _MAP_H
#define _MAP_H
#include "town.h"
class map
{
private:
int townSize;
town* maps;
public:
/* Constuctor and Destructor */
map();
map(int townSize);
~map();
//void setMap(map* town_map);
void setMap(string *name, double *km);
town* getMap();
void setTownSize(int townSize);
int getTownSize();
void printMap();
town* getTownIndex(int Size);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -