Everything I\'m finding via google is garbage... Note that I want the answer in C, however if you supplement your answer with a C++ solutio
You could use fread. (Note the the API is for C, even though the website says C++ reference :))