Author Topic: class Month  (Read 4610 times)

Yap Michael

  • User
  • *
  • Posts: 8
class Month
« on: February 23, 2006, 12:44:57 AM »
Sir, can you post the codes of the class Month now?
I need to study it .

Thanks a lot!

louiecerv

  • Moderator
  • User
  • *****
  • Posts: 85
For discussion
« Reply #1 on: February 23, 2006, 09:37:58 AM »
Code: [Select]

class Month
{
private:
int monthNum;
public:
Month();
Month(int mNum);
Month(char abbrev[]);
void setMonth(int mNum);
void setMonth(char abbrev[]);
void getMonthAbbrev(ostream& outs);
void getMonthNum(ostream& outs);
Month NextMonth();
};

Analyze. Design. Develop. Debug. Deploy. Maintain.

louiecerv

  • Moderator
  • User
  • *****
  • Posts: 85
Code Posting
« Reply #2 on: February 23, 2006, 02:46:27 PM »
The full code for the implementation of the member functions are too long to present here, you can download the complete file at our yahoogroups site.
Analyze. Design. Develop. Debug. Deploy. Maintain.