Question: IN C++ Program Specifications Develop an inventory management system for an electronics store. The inventory system should have the following functionalities: BuildInventory: read a text
IN C++






Program Specifications Develop an inventory management system for an electronics store. The inventory system should have the following functionalities: BuildInventory: read a text file containing electronics products information and store them in an array of pointers ShowInventory: display all inventory items Show DefectInventory: display inventory items that are defective Terminate: to save current inventory to a text file This programming assignment illustrates the following concepts Text file reading and writing Arrays of pointers and dynamic memory allocations with new and delete Inheritance C++type casting: static_cast Class Design You need at least three classes. class InventorySystem: (minimum implementation specified below). This class stores Inventoryltem objects (which are in fact Inventoryltem base class pointers to derived Product objects) and member functions to manipulate those Product objects as shown below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
