I am using microsoft visual studio to do C++. I don't see std::err and std::out in the output console of the IDE. Is there a way to redirect them ?
A:
If you are building a console application standard output (and standard error) are printed in the console's window. To print something to the output console, you need to use OutputDebugString.
kgiannakakis
2010-04-21 13:47:40
Are you saying that there is no way to redirect the std::out and std::err to the output console ?
jules
2010-04-23 10:37:52
No, I don't know about that. In my opinion it will be easier to write directly to the output console. As the link in my answer demonstrates, you can even use streams for this.
kgiannakakis
2010-04-23 10:42:38