// File: Person.h // Definition of class Person #ifndef PERSON_H #define PERSON_H #include #include #include "Date.h" using namespace std; class Person { friend ostream &operator<<(ostream &Dest,const Person &P); // output first and last name public: Person(const string &first,const string &last,const string &social, int birthMonth,int birthDay,int birthYear); // constructor void setName(const string &first,const string &last); void setSSN(const string &social); virtual void print(ostream &dest) const; protected: string firstName; string lastName; string SSN; // Social Security # Date dateOfBirth; }; #endif