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

📄 city.h

📁 SSD6卡耐基梅陇大学OP7答案 绝对正确 SSD6数据结构 是一门很重要的课程 希望对大家有帮助
💻 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 + -