//Automobile.h #ifndef AUTOMOBILE_H #define AUTOMOBILE_H #include #include "Pilota.h" class Automobile { public: Automobile( string, string, int, Pilota * = NULL); void setAutomobile( string, string, int, Pilota * = NULL); void setDriver( Pilota * ); string getTarga() const; string getModello() const; int getAnno() const; Pilota getPilota() const; bool esistePilota() const; private: string targa; string modello; int anno; Pilota * driver; }; ostream & operator<< (ostream &, const Automobile &); #endif