The software is a utility to maintain student records at an academic institution. File I/O using C++ is used to provide a console-based utility with features such as addition, deletion, searching, updating and viewing of student records.
There are many possible ways to implement the system. I came up with the following scheme :
A file ( record.dat ) is used to store the information. The information is stored in blocks of size 40 bytes, with each block storing the information of 1 record. The records are always kept alphabetically sorted in the file. The operations that can be performed are:
q Addition
q Display
q Deletion
q Search