Technology

I need to get rid of Clementine.h, but still be able to call runMenuSystems in Loan.cpp and Retirement.cpp(Do not change Loan.h or Retirement.h)

I need to get rid of Clementine.h, but still be able to call runMenuSystems in Loan.cpp and Retirement.cpp(Do not change Loan.h or Retirement.h)

I need to get rid of Clementine.h, but still be able to call runMenuSystems in Loan.cpp and Retirement.cpp(Do not change Loan.h or Retirement.h). Also I need to add Register.cpp and Register.h.

You will create a new class called Register with associated header and implementation files. The purpose of

Register is to prompt the user for the name of a text file that contains a list of transactions that include date,

type, location, and the amount credited/debited.

o Register is required to have the following public methods:

§ Default constructor Register();

§ string getFileName();Prompt the user for the name of the file and returns that as a string.

§ void setFileName (string);Set the class’ private variable to a filename sent into the function.

§ bool processTransaction();Serves as the driver for Register and is used to call getFileName, setFileName,

readFromFile, and printFile. Returns true if it completes successfully, false

otherwise.

§ bool readFromFile();The purpose of this function is to use the internal private filename to read through the

input file and populate the classes’ vectors to store information. You will not know how

many line items there are. This function returns back true if the file is opened and read

successfully, false otherwise.

§ void printFile();Will print out the transactions in a neatly formatted table.

o Register is required to use an enumerated type called Transactions that contains, in this order, types

for RESTAURANT, MERCHANDISE, UTILITY, COFFEESHOP, AUTOMOTIVE, DEPOSIT,

OTHER.

I have attached sample output and code i have already written

unice10

Recent Posts

The purpose of this assignment is to enhance the students’ understanding of advocacy and ethical considerations in complex medical-surgical nursing care.

The purpose of this assignment is to enhance the students' understanding of advocacy and ethical…

1 week ago

Previously, you employed academic writing to describe business decisions made related to the final segment of a multi-year integrated case

Previously, you employed academic writing to describe business decisions made related to the final segment…

1 week ago

Review the Week 3 Risk Management Case Study scenario in the course’s Announcements section. Use the Week 3 Risk Management Case Study Template

Review the Week 3 Risk Management Case Study scenario in the course’s Announcements section. Use…

1 week ago

Within the Discussion Board area, write 400-600 words that respond to the following questions with your thoughts, ideas, and comments

Within the Discussion Board area, write 400-600 words that respond to the following questions with…

1 week ago

This website uses cookies.