Hellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 2 years agoDoes this exist anywhere outside of C++?lemmy.mlimagemessage-square63linkfedilinkarrow-up1174cross-posted to: programmer_humor@programming.dev
arrow-up1174imageDoes this exist anywhere outside of C++?lemmy.mlHellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square63linkfedilinkcross-posted to: programmer_humor@programming.dev
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up3·2 years agoDon’t most terminals flush the buffer on newline anyway?
minus-squareClemaX@lemm.eelinkfedilinkarrow-up9·2 years agoIt is the stream itself that is buffered, so the terminal does not handle the contents until the stream is flushed.
minus-squarevapeloki@lemmy.worldlinkfedilinkarrow-up2·2 years agoMaybe, but there is the internal buffer. Also, most I/O happens in files not consoles
Don’t most terminals flush the buffer on newline anyway?
It is the stream itself that is buffered, so the terminal does not handle the contents until the stream is flushed.
Maybe, but there is the internal buffer. Also, most I/O happens in files not consoles