163
Does this exist anywhere outside of C++?
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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