I know how to search within a text file but I fail to do the same with a binary file. I can load the entire binary datafile using fread() but I am trying to load only one record (based on users' input like order no.) at a time.
Can anyone please tell me the command to use for loading a specific record (not the entire data file!) from a binary file. I did a board search but couldn't fine anything.