The question regarding cerr cout and clog

Posted by skydoor on Stack Overflow See other posts from Stack Overflow or by skydoor
Published on 2010-03-08T19:48:08Z Indexed on 2010/03/08 19:51 UTC
Read the original article Hit count: 272

Filed under:

Can anybody explain the difference between cerr cout and clog and why does different objects are proposed?

I know the differences are as below:

1) cout can redirected but cerr can't 2) clog can use buffer.

I am confused about the point 2, I am grateful if anybody can elaborate it more.

© Stack Overflow or respective owner

Related posts about c++