The Windows "carriage return + line feed" way (MH says this was due to dot matrix printers or something like that) characters 13 + 10
The Unix "newline" way character 10
And maybe (I hope not) a stupid Mac way character 13 only .... oh thank god ... OS X is "Unix", it was old school "Mac OS" that was weirded up.
Ok ... anyway ... here is the question.
Isn't fopen (fileToWrite, "wb") better to use to write text than fopen (fileToWrite, "w")?
Because by specifying binary, it takes away any discretional crapola the operating system might decide is "best".
Then again, notepad.exe seems to hate files without CR in them. I bet most decent text editors don't care, but still that's the Window standard
