24 lines
304 B
C
24 lines
304 B
C
|
#ifndef CITY_H
|
||
|
#define CITY_H
|
||
|
|
||
|
#include<iostream>
|
||
|
#include <string>
|
||
|
|
||
|
class City {
|
||
|
private:
|
||
|
std::string name_m;
|
||
|
|
||
|
public:
|
||
|
// Constructors
|
||
|
City();
|
||
|
City(const std::string& name);
|
||
|
|
||
|
// Getters
|
||
|
std::string getName() const;
|
||
|
|
||
|
// Others
|
||
|
void printCity() const;
|
||
|
};
|
||
|
|
||
|
#endif // CITY_H
|