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

📄 car.h

📁 ssd5 exam2需要的自己下载ssd5 exam2需要的自己下载
💻 H
字号:
#include <iostream>
#include <string>
#ifndef _CAR_H_
#define _CAR_H_

using namespace std;

class Car {

private:
    string license_plate;
    int moved;
    int aisle;

public:
    Car(string);
    Car(string, int);

    int getTimesMoved(void) const;
    void setTimesMoved(int);
    string getPlate(void) const;
    int getAisle(void) const;

    bool operator < (const Car& rhs) const;
    bool operator == (const Car& rhs) const;
};

#endif

⌨️ 快捷键说明

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