Hellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 12 天前Does this exist anywhere outside of C++?lemmy.mlexternal-linkmessage-square64fedilinkarrow-up1171arrow-down19cross-posted to: programmer_humor@programming.dev
arrow-up1162arrow-down1external-linkDoes this exist anywhere outside of C++?lemmy.mlHellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 12 天前message-square64fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up7·11 天前Ahhh, I see. Looks like the magic happens somewhere further down in iostream.
minus-squareAnyOldName3@lemmy.worldlinkfedilinkarrow-up4·11 天前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.
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.