Hellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 2 年前Does this exist anywhere outside of C++?lemmy.mlexternal-linkmessage-square61linkfedilinkarrow-up1176arrow-down110cross-posted to: programmer_humor@programming.dev
arrow-up1166arrow-down1external-linkDoes this exist anywhere outside of C++?lemmy.mlHellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 2 年前message-square61linkfedilinkcross-posted to: programmer_humor@programming.dev
minus-squarexigoilinkfedilinkEnglisharrow-up3arrow-down1·2 年前Don’t most terminals flush the buffer on newline anyway?
minus-squareClemaX@lemm.eelinkfedilinkarrow-up9arrow-down1·2 年前It 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 年前Maybe, 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