That makes no sense. Remember that even if you open a file in "binary" mode, if you output with fprintf you aren't really writing binary data! Binary data is written like this:
FILE *fp =...
Type: Posts; User: oogabooga
That makes no sense. Remember that even if you open a file in "binary" mode, if you output with fprintf you aren't really writing binary data! Binary data is written like this:
FILE *fp =...
If there is no reason not to, it's usually best to use a text file, not a binary file, since it's more portable and can be read and edited by a human (good for debugging, for example).