Reading in binary file and outputting to another binary file
So im trying to read a binary file into an array and then output that array into another file, which should therefor get me 2 identical files. But they are different files Why would this be? #include <stdio.h> int main() { unsigned int buffer[1000000]; FILE *in; in = fopen("file.bin", "rb"); fread(buffer, sizeof(buffer), 1, in); fclose(in);… Read More Reading in binary file and outputting to another binary file