Please can anyone advise me on how to tackle this task -
I have a C file can be text or binary it's up to me how I create it which contains 1000s of records. I also have a user interface wrritten in Ansi C which allows users to access this file by entering search parameters, they can also specify a sort criteria. Currently the data file uses special VMS formats which allows for effcient searching and retrieval of multiple records.
My task is to rewrite this user interface using Ansic C that is portable across other OS i.e I can't use these super duper VMS file functions. I had a look at C and I can't see how to create an index file, I had a look at the fseek, but I can't see how that will help. Also does anyone know of any sorting algorithms.
Any clues/hints would be much appreciated.