I create a file like this:
i found i can only read the records , or position the file pointer toCode:...
class Student { ... };
ifstream fin ( fname );
fin.write ( (char*)stud, sizeof ( Student ); //save student records
...
ofstream fout ( fname );
...
a specific record, however, i do not know how to delete a record
from a file, or modify of course .
thanks a lot for help !