Binary file, search function in C?

marycollette

New Member
You are required to provide a search function by customer ID, that shows all the information
about a customer contained in the customer.bin file.

Does anyone have any idea of how to do this? its for my persistant data project using C. I need a function to search my binary file by the customers ID number and display the contents e.g.
4571 (This is the ID)
Thomas
Dillon
51
m
wicklow way 4.

They all pretty much have 6 lines.

Any help is appreciated thanks. Initiative Q NUTRA THRIVE Noom Diet Plan
 
Last edited:
Top