• Advertisement
Sign in to follow this  

Console Window in a Win app

This topic is 3316 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there an easy way to get a simple console window open for cout calls? I just thought it would be a simple way to out put debug info and quicker (to check) than writing out to a file.

Share this post


Link to post
Share on other sites
Advertisement
If you are using Visual Studio, just right click on your project -> properties -> linker -> system -> SubSystem, and set it to console.

Make sure you do it in debug mode, unless you want your users to see the console as well...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement