

2·
3 months agoMaybe, but there is the internal buffer. Also, most I/O happens in files not consoles
Maybe, but there is the internal buffer. Also, most I/O happens in files not consoles
std::endl
is used in output streams in C++ to end the line, using the os specific line termination sequence, and flush the buffer.
The later one is a performance issue in many cases, why the use of "\n"
is considered preferred
Have you ever heard of case of overheating hard drives within the last decade?
First of all, this would be illegal in many countries.
Second of all: we can differentiate cars by: has red lights, back.
If we lose this option we can no longer differentiate easily if there is a car coming towards us or driving away from us.