|
|
| |
Binary stdout
If you want the output from the stdout FILE stream to be
binary (no translation of CR/LF chars):
#ifdef __MINGW32__
/* Required header file */
#include <fcntl.h>
#endif
...
#ifdef __MINGW32__
/* Switch to binary mode */
_setmode(_fileno(stdout),_O_BINARY);
#endif
|
|
|
|
|