I have a binary file written by a Fortran code which I am required to read in using C++, edit, and then rewrite to the original format.
The majority of the file is st