Question: Write a c++ program (Binary Random Access Database) using a class that has array data members name, salary, year_hired. This program will 1) write the

Write a c++ program (Binary Random Access Database) using a class that has array data members name, salary, year_hired. This program will

1) write the data for 10 records to a random access file

2) allow the user to output the name, salary, hire_date for a selected record

3) allow the user to change the name, salary, or hire_date for a selected record.

4) allow the user to add a record.

Note: The record number is the subscript of the array for name, salary, year_hired.

Must have ios::binary in the program

C++ PROGRAM MUST COMPILE AND MUST WRITE TO AND READ FROM A RANDOM ACCESS (BINARY) FILE

Thank You!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!