Question: ( Constructors and Destructors ) What happens when a return type, even void, is specified for a constructor or destructor? 1 0 . 6 (
Constructors and Destructors What happens when a return type, even void, is specified
for a constructor or destructor?
Date Class Modification Modify class Date in Fig. to have the following capabilities:
a Output the date in multiple formats such as
DDD YYYY
MMDDYY
June
b Use overloaded constructors to create Date objects initialized with dates of the formats
in part a
c Create a Date constructor that reads the system date using the standard library functions
of the header and sets the Date members. See your compilers reference docu
mentation or wwwcplusplus.comrefctimeindexhtml for information on the func
tions in header
In Chapter well be able to create operators for testing the equality of two dates and for com
paring dates to determine whether one date is prior to or after, another.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
