Possible Duplicate:
A class definition for a date class that contains three integer data members:month,day,year
I am not sure what they are asking for here. An example would be great.
Here is the complete list of requirements. I am working through an exercise in a book I have been reading but I have read the chapter over and over but I just cant make sense out of it.
1.A class definition for a date class that contains three integer data members:month,day,year
2.One constructor that assigns the date 1/1/2000 to any new object that does not recieve any arguments.
3.One constructor thats accepts month and day arguements and uses a default year of 2004
4.One constructor thats accepts month, day,and year arguements
5.Each constructor should also output a message to the user stating which constructor is currently being used.
6.A method that displays the values in the date object