Hellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 2 months agoDoes this exist anywhere outside of C++?lemmy.mlimagemessage-square59fedilinkarrow-up11arrow-down10cross-posted to: programmer_humor@programming.dev
arrow-up11arrow-down1imageDoes this exist anywhere outside of C++?lemmy.mlHellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 2 months agomessage-square59fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up0·2 months agoAhhh, I see. Looks like the magic happens somewhere further down in iostream.
minus-squareAnyOldName3@lemmy.worldlinkfedilinkarrow-up0·2 months agoIt’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.
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.