Question: Program requirements: 1 ) The program should loop back to the 1 st menu after each report and only exit if the user selects item
Program requirements:
The program should loop back to the st menu after each report and only exit if the user selects
item
Create a class to hold each record as a vector of objects to be used by the main program.
The class should contain all necessary Set and Get functions, constructors, a copy constructor,
overloaded operators to be able to sort the records in their proper order.
Be sure to include error handling inside your class definitions, when appropriate, to protect the
member variables properties
Read the members.csv file into the array of member objects in the mian function.
Create a class that produces an HTML table. This class should contain an overloaded friend
operator for sending the output to an HTML table report file. This one overloaded operator
function should be capable of writing the title, headings and each line of output by passing in
the tags for the HTML
Create functions for main to call for the menu, sorting and each report. No global variables are
allowed. You must pass in the vector array of objects, file handlers, etc., as needed, to each
function.
Prompt the user for a file name to save each report they select after they make the selection.
Save each report in a separate file, as named by the user.
You should have files for your project: for each class h and cpp for the main program h
and cpp your main and functions that are external to the class can be in the same cpp file
and the members.csv input file.
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
