I coded it in C++ - before I realised you want C. Ahhhhh. Dohhhh. Here's my C++ code using a vector that contains all the data so that multiple requests can be made without re-reading the file. I'll do a C one shortly.....
Yesss... that is working.. I can use it to parse the lastid in to my program. My goal was to modify the data and then to compare with the previous one.. So one last question seeplus, is it possible to use the lastid as a string, because in my code as you already know.. same one you know, I try to improve it so I need to retrieve the data as string not integer ?