Quote Originally Posted by hyling View Post
This is a cool trick I learned from someone on the forums. Assuming you're using Visual Studio, if you go to the Project Properties and set configuration properties>Linker>System>SubSystem to "Console" your application will show a console and cout << will be displayed in the console. I usually use this for my debug project and return the subsystem to windows for my release projects.
This is equivalent of writing:

win32 {
release:CONFIG -= console
debug:CONFIG += console
}
in the project file.