#ifndef CAR_H #define CAR_H #include <string> class Car { private: std::string model; public: std::string getModel() {return model;} }; #endif
#ifndef CAR_H #define CAR_H #include <string> class Car { private: std::string model; public: std::string getModel(); }; inline std::string Car::getModel() { return model; } #endif