📄 city.h
字号:
#ifndef _CITY_H_
#define _CITY_H_
using namespace std;
class City {
public:
// name of the city
string name;
// bookkeeping info
bool visited;
int total_fee;
int total_distance;
string from_city;
City() : name(""), visited(false), total_fee(0), total_distance(0), from_city("") {}
City(string const &s): name(s), visited(false),
total_fee(0), total_distance(0), from_city("") {}}
;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -