There is a binary file, logically divided into several parts. The problem is that I do not want to load all the information into RAM, and the fopen() function only allows appending data to the file. My own requests may be, for example, such: write the following data to a file from the 512th byte to the 1024th ...
How can I change the data in the file? How can I move a file if I know the position I need in it?
PS The project is implemented in VC ++