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
ellimist14 -1 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.