Hellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 3 days agoDoes this exist anywhere outside of C++?lemmy.mlexternal-linkmessage-square62fedilinkarrow-up1169arrow-down18
arrow-up1161arrow-down1external-linkDoes this exist anywhere outside of C++?lemmy.mlHellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square62fedilink
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up6·3 days agoAhhh, I see. Looks like the magic happens somewhere further down in iostream.
minus-squareAnyOldName3@lemmy.worldlinkfedilinkarrow-up3·2 days 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.