📒This is a our assignments for File Management and processing using C++ programming language
Want to store data about Employees and Department. (for simplicity consider any employee belongs to only one department, but any department may have more than one employee). Save the data for employees and department in the following format: delimited fields, length indicator records. You should write the producers that build the following indexes:1. Primary index using the Employee_ID (for Employees datafile)
2. Primary index using the Dept_ID (for Department datafile)
3. Secondary index using Dept_ID (for Employee datafile) //Dept _ID is sec. key in Employees datafile
4. Secondary index using Dept_Name (for Department datafile)
Test case to show adding a new employee on the right after adding the employee's first 10 characters are the file header, there are 3 characters after the header that are the length indicator record, after that there are employee's data.
Test case to show search using primary index and binary search.
Test case to delete employee using linked list.
Test case to show search after delete.
Test case to show adding a new department.
Query writing test.
The file at creation time (if number of records = 10 and m= 5).
The index file after inserting.