Is there way to set stdout to binary mode? In which mode is stdout without any operations, from my debugging issues I assume that it is in text mode, is it true?
I tried function:
freopen(NULL,"wb",stdout)
but my program is crashes when I'm doing it.
See Question&Answers more detail:os