As you recall the project used text files to store the data


Assignment: C++ Programming

The purpose of this project is to take your project and implement it using Random Access Binary Files.

As you recall, the project used text files to store the data. Here in the final exam project, you will be storing the data in Random Access Binary File.

Also, in the project you used Arrays to temporarily hold the data in the memory until the user decides to write the data to file. Here you will not be using Arrays and instead writing the data directly to Random Access Binary File. Please read the chapter Advance File and I/O operations before attempting this.

Here is the full description of the Final exam project.

Modify your Exam Project to:

1. Replace Employee and Department classes with Employee and Department Structures.

2. Inside each structure, replace all string variables with array of characters.

3. Make Employee and Department editable. That means, the user should be able to edit a given Employee and Department.

4. Do not allow the user to edit the Employee ID and Department ID.

5. Use Random Access Files to store the data in Binary Form. This means, you should not use an Arrays to store the data in the memory. Instead, when the user wants to create a new Employee/Department, you write it to the file right away. Also when the user says he/she wants to edit an Employee/Department, ask the user to enter EmployeeID/DepartmentID.

Read the data from the file and display it to the user.

Allow the user to enter new data and write it back to the file in the same position inside the file.

Please read the chapter . Advance File/IO operations which has examples on how to do this.

Attachment:- C++ Programming.rar

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: As you recall the project used text files to store the data
Reference No:- TGS02368826

Expected delivery within 24 Hours