Im currently doin one mini project in C++ programming . My project concept as below :-
This project concept is generated for shop owners to manage their expired items .
- User will key in data regarding the item and its expire date .
- The data will collected as groups and saved in a file using fstream function .
- User able to add the item details every day . The list will be updated into file automatically .
- For example , if the list updated for few weeks and if the user wanted to check the expiry items . The expiry items should be checked with current computer date and compare with existing added item expiry dates and shows the range of days left to expire .
I know how to create files and let users to store data . But , how to import the saved file data and compare its exoire date with current computer date ... ???