Sign in to follow this  
shaobohou

Devcpp piping stdout

Recommended Posts

I used to write SDL code in devcpp and anything passed to cout is piped into a file called stdout.txt I have recently started writing a program in devcpp with glut and it seems cout is no longered piped to anywhere (not to stdout or any file). I can't seem to find the option to turn the piping back on or have it sent to stdout. Any ideas? thanks

Share this post


Link to post
Share on other sites
My guess would be that SDL high jack the standard stdout to output in a file.

In my opinion you should write your own logger, instead of using a standard stdout, this way you have more control, you can disable it, timestamp the entries, etc...

Hope this helps

Eric

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this