I\'m trying to write code to read a binary file into a buffer, then write the buffer to another file. I have the following code, but the buffer only stores a couple of ASCI
sizeof(buffer) == sizeof(char*)
Use length instead.
Also, better to use fopen with "wb"....
fopen
wb