In C++ language, create a simple Inventory System using
classes and the concept of separate compilation that has the
following functions:
1.) add_item - stores the product record in
product.txt
2.) delete_item - deletes a product record
3.) modify_item - updates a product record
4.) display_item - displays the product record and add a
function to sort the records
5.) purchase - for purchase transactions and updates
the product record
6) int find_item - finds a product record
The main menu will look like this
cout <<"1: PURCHASE PRODUCTS"
;
cout <<"2: LIST OF PRODUCTS"
;
cout <<"3: SEARCH PRODUCT"
;
cout <<"4: EDIT PRODUCTS FILE"
;
cout <<"5: TRANSACTIONS REPORT"
;
cout <<"6: SEARCH
TRANSACTION" ;
cout <<"0: QUIT" ;
cout <<"Enter Your Choice : "
;
//this function shows the edit menu and call other function
cout <<"1: ADD PRODUCTS"
;
cout <<"2: MODIFY PRODUCTS"
;
cout <<"3: DELETE PRODUCTS"
;
cout <<"0: EXIT" ;
cout <<"Enter Choice : "
;
In C++ language, create a simple Inventory System using classes and the concept of separate compilation that has the fol
-
- Posts: 43759
- Joined: Sat Aug 07, 2021 7:38 am