I posted a thread yesterday and someone suggested using cerr instead of cout. What is the difference between the two? Warren Brown
wazzer@btinternet.com
cerr goes to the 'standard error output stream'
cout goes to the 'standard output stream'
The environment you operate in determines what each of those is, i.e., in a CGI application the Web Server might hook the standard error output stream to a log file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.