163
Does this exist anywhere outside of C++?
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Ahhh, I see. Looks like the magic happens somewhere further down in iostream.
It's controlled by whether the stream's opened in text mode or binary mode. On Unix, they're the same, but on Windows, text mode has line ending conversion.