//File : month.cpp //Author : Andre Long //Due : October 20, 2004 //Description : This implementation file holds the function definitions for the overloaded // >> and << operators because they can not be part of the month class #include #include"month.h" //******************************************************************* // Overloaded << operator * // Gives cout the ability to month names * //******************************************************************* ostream &operator<<(ostream &strm, month &obj) { strm<> operator * //Gives cin the ability to store input directly into month objects * //******************************************************************* istream &operator>>(istream &strm, month &obj) { cout<<"Name of month "; strm>>obj.name; cout<>obj.monthNumber; return strm; }