[Solved] C binary read and write file
Okay, I don’t really understand what’s going on, but it seems that you cannot trust fseek with SEEK_CUR when using with read/write files in that case (I’m running Windows, and the standard functions are notoriously different from Linux that may be the issue) EDIT: Andrew’s answer confirms my suspicions. My solution complies to what the … Read more