Guest_imported
New member
- Jan 1, 1970
- 0
could someone kindly help me to delete records in my .dat file. the file contains records containing name, age, address and other 'char' fields. problem is i cant find a code that actually deletes one particular record.
also i have an ammend function, i used fstream's read and write to read a record and then overwrite the fields, however this only worked for int fields! could someone please tell me how an ammend function for char fields would work. thanks, mat
also i have an ammend function, i used fstream's read and write to read a record and then overwrite the fields, however this only worked for int fields! could someone please tell me how an ammend function for char fields would work. thanks, mat