C++ Working with Classes, inheritance, overloading operators and Exception

C++ Working with Classes, inheritance, overloading operators and Exception

main.txt

I am working on a C++ assignment that covers Classes, inheritances and composition, operator overloads, reading from files and exception handling. I am having trouble knowing if what I am doing is right. The program should output this: Output

The program is reading three files while I am required to match the output above. Here are my main.cpp and header files for my classes. There are comments in the code to what each part of the code should do. Inventory and merchandise are my header files containing classes. Also it says chapter 13 and 14 code which is overloading and templates, and exception handling respectively. The chaper 13 portion of the code should: Overload the << operator for the Inventory class to produce the same output as showStore(), then use your << overload in the main function below the comment for chapter 13 code to output the inventory object you instantiated at the top of the main function. I am not sure what I need to do with exception handling yet. For now it would be great if you can review my code on everything I have done as I am not sure if everything is correct to this point. I will provide the three files that need to be read as well which are book_count, book_inventory, and book_sales. merchandise.txt

inventory.txt

book_count.txt

book_inventory.txt

book_sales.txt

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper