6. Write a program in C++ using a random access file function to create a database of the student’s information such as name, roll number, sex, address and the program should have the following facilities:
(i) to list the entire data base
(ii) to display only a particular record
(iii) to update a record
(iv) to delete a record
(v) to sort a record (name is a key reference)