Why clog is used in c++ !!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why clog is used in c++ !!!

28th Mar 2018, 5:44 PM
Atul Sati
Atul Sati - avatar
2 Answers
+ 5
C++ clog. The clog object in C++ is an object of class ostream. It is associated with the standard C error output stream stderr. clog and cerr , both are associated with stderr , but it differs from cerr in the sense that the streams in clog are buffered and not automatically tied with cout .
28th Mar 2018, 6:49 PM
Baraa AB
Baraa AB - avatar