ok I have to do standard database functions (add, delete, update records. print one record, print all records, etc) with a binary file. The only problem I'm having is, obviously with singular operations (add, update delet and print one) you have to perform a search to find the record you want to update or whatever. I have a slight understanding of seekg() and seekp() but if anyone could explain exactly how to perform the search aspect of it I'd be really appreciative. I'm not asking anyone to write code for me, I just want to know how a search would be performed on a binary file