Consider there is a system in an industry to maintain the data of the employees that includes supervisor, labor, sweeper, marketing person and manager. Whenever a new employee is hired, the system takes his relevant data respective to the type of the employee and saves it in a file with a unique name that could be used as an identifier to search the file record of any particular employee. That identifier should reflect the employee type and system should generate it automatically. Design the system according to the above mentioned requirements using Object oriented approach in C++. The executable file must be user friendly.
Answers
Answered by
0
Answer:
I think the below code will help you out. As you've not mentioned if it is binary file handling or text file handling. I've done it Binary File Handling .
If you have any doubts or find any error do comment the answer thus I'll get notified. If no errors are found do mark my answer brainiest I took lots of efforts to program it.
There are chances for error, as I've not yet installed a IDE for C++ yet. Sorry for Inconvenience.
Explanation:
Attachments:
Similar questions