Reference no: EM132211500
Question: Write a program 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 sbscript of the array for NAME, SALARY, DATE_HIRED.
Please first write a program that writes name to a random access file and reads it
then make name, salary, date_hired arrays,
then make your program write and read 10 records
finally allow user to output and modify selected record.
must compile, must write to and read from a random access (binary) file.
C++