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
Get step-by-step solutions from verified subject matter experts
