The application supports a table of records. Define a class called
StoreItem, the instance of which is a record. The maximum number of records in a table is not predefined.Program can use a vector or a dynamic array to implement a table, supporting dynamically the increase and the decrease of the number of records in a table.
The requirement are as below:
1. Insertion of a new record
2. Update of a data field in a record
3. Deletion of a data field in a record
4. Deletion of a record
5. Saving the table into a text file
6. Loading the table from a text file
can u make one program as requirement below. Please.
supports a table of records. Define a class called StoreItem, the instance of which is a record.The maximum number of records in a table is not predefined. Your program can use a vector or a dynamic array to implement a table, supporting dynamically the increase and the decrease of the number of records in a table. You program should consist of three files, which are Inventory.cpp, StoreItem.h and StoreItem.cpp.
The user need to input are as below:
1.Item ID
2.Item Name
3.Item Description
4.Category
5.Manufacturer
6.Selling Price
7.Cost Price
8.Units in Store
9.Units Sold
10.Year of Date First Introduced
11.Month of Date First Introduced
12.Day of Date First Introduced
The features required are as below:
1. Insertion of a new record
2. Update of a data field in a record
3. Deletion of a data field in a record
4. Deletion of a record
5. Displaying on screen the table of records showing
6. Saving the table into a text file
7. Loading the table from a text file
Please note that this is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.
We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again.