1) Given the specification of the data types Date, Event, and Newspaper:
Data types Specification
Date day : unsigned int
month: unsigned int
year: unsigned int
constructor: with no arguments
get functions for each data member
set functions for each data member
Event EventDate: date
desription: string
constructor: with no arguments
get functions for each data member
set functions for each data member
Newspaper Events[100]: Event
Title: const string
printEvent(EventIndex:unsigned int): prints all details of the event in the cell EventIndex of the array Events
a) Write the interfaces of the classes Date, Event and Newspaper.
b) Write the implementation of the class Newpaper.
1
Expert's answer
2012-11-12T09:07:15-0500
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Comments
Leave a comment