// Pilota.cpp #include #include #include "Pilota.h" #include "Date.h" ostream& operator<< ( ostream& os, const Pilota& e) { os << e.firstName << " " << e.lastName; os << ", nato il "; os << e.birthDate; os << endl; return os; }; Pilota::Pilota( string fname, string lname, int bmonth, int bday, int byear) : birthDate( bmonth, bday, byear ) { firstName = fname; lastName = lname; } void Pilota::setNome( string n) { firstName = n; }