its a C/C++ program about single random access file which should run under unix system
In this Assignment you will write a program to write and retrieve objects in the borrower class hierarchy to/from a single random access file. You may use this source file which contains classes describing three different kinds of borrowers: junior borrower, adult borrowers and life members. You can alter the functions in these definitions or add any new functions as needed. You will probably need functions to convert the data contained in these classes both to and from a string. You will need at least one other class. You must buffer all file I/O using objects from the stringstream family. Your program must allow the user to add, delete and update borrower records in the file. All searches are by member number only. Assume member numbers are in the range 1 - 100 only. Your program must retrieve only the single record to be updated. Records are deleted directly from the file and new records added directly to the file. *** Do not read all records into any sort of container and make all changes in the container as in previous assignments. *** A script file, named "[url removed, login to view]", of you testing session, together with all source files. Do NOT submit your data file. You must conclude your testing by displaying a sequential list of all records, in an appropriately formatted table. You must include the following tests. Note these are not the only tests that you should perform as they do not test all possible functionality. I would expect you to have tested with at least 5 borrower records of your own, with at least one of each kind of borrower. I will expect this to be reflected in the final display out of all records. [url removed, login to view] an adult borrower with your first and last name, member number 23, and 0 current loans [url removed, login to view] a junior borrower, Fred Bear, member no 66, and 3 current loans. [url removed, login to view] a life member, Mary Oldster, member no 1, with 67 current loans. [url removed, login to view] and display the details of these [url removed, login to view] Fred Bear's loan count to 5. [url removed, login to view] Mary Oldster's record. [url removed, login to view] a new life member record for Terry White, member no 3, 0 current loans. [url removed, login to view] the loan count for your record to 8. [url removed, login to view] and display all records in the file. I have all the classes in [url removed, login to view] file.
should run under unix system.
## Deadline information
i want in done in next 2-3 days.