cerr variable — Error message stream
extern ostream cerr
The cerr
object is a
standard output stream associated with the C stderr
file. It is typically used for
error messages. When the cerr
object is initialized, it sets the unitbuf
flag, causing cerr
to flush the output buffer after
every operation.