//File : Quiz5.h //Author : Andre Long //Due : October 18, 2004 //Description : Provide implementation for class "cow" given in class and test with driver #ifndef Quiz5_H #define Quiz5_H #include using namespace std; class cow { private: string name; string * hobby; double weight; public: cow() //default constructor { name = "No Name"; hobby= new string ("No hobbies"); weight = 0; } cow (const char * nm, const char * ho, double wt) //Parameterized Constructor { name.assign(nm); hobby = new string(ho); weight = wt; } cow (const cow &c) // copy conctructor { name = c.name; hobby = new string (*c.hobby); weight = c.weight; } ~cow() //destructor { } cow & operator = (const cow &c); void showcow() const; // display all cow data }; #endif