Use rb
(read binary) as mode
parameter in the fopen()
function.
For more information:
http://www.cplusplus.com/reference/cstdio/fopen/
solved C, read a binary file?
Use rb
(read binary) as mode
parameter in the fopen()
function.
For more information:
http://www.cplusplus.com/reference/cstdio/fopen/
solved C, read a binary file?