Another Question

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

JollyMan311

Thread Starter
Joined
Oct 14, 2003
Messages
4
Part 6:
Use the following Date.h to answer questions 6 & 7:

class Date
{ public:
Date();
void NextDay ( ) ;
set_month (int);
set_day ( int);
set_year (int);
private:
int month, day, year ;
}


Write the method to advance the day (NextDay()) (remember that some months have 28 or 30 or 31 days, after dec 31 is a new year).
 
Joined
Jul 8, 2002
Messages
14,681
Do you have any specific questions? I don't think anyone here is going to do your work for you.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top