1. Refactor the Video Software by replacing the Price class hierarchy with the two classes described in the Discussion about Software Engineering & Refactoring (shown here). Note: I’ve in-lined all the C++ code to make it very similar to the corresponding Java code, so that it will be easier for students that know Java, but not C++. (Note: shared_ptr is a safe pointer that prevents memory loss. Java has built-in automatic garbage collection so doesn’t need.)
2. Add a Class that Manages the Inventory (including managing rental categories).
For example, the Inventor Manager may define a movie list that it provides operations to add, delete, search for and browse movies. (If you are familiar with the Model-View-Controller pattern, the manager would be the Controller, and the movie list would part of the model.)
I am a student and i need to submit this by tomorrow.
Hi, I am C++ expert and can surely help you here with this project. I have a lot of experience in helping students with their assignments and tutoring. Please communicate to discuss further. I will start as soon as you award. Thank you. Regards Anshu