Listing 19 A flawed Person class that stores text on the heap

// person2.h
#include "date5.h"
#include "bool.h"

class ostream;

class Person
{
   friend ostream & operator<<(ostream &, const Person &);

public:
   Person();
   Person(const char *,const char *,const Date &,const char *);
   ~Person();
   bool operator==(const Person &) const;

private:
   char * last;
   char * first;
   Date birth;
   char * ssn;
};
/* End of File */