title: How to stop a program compiled with MinGW (g++) from opening a console window in windows
body: <p>I compiled a program using MinGW g++. When I run it, it opens a console window in addition to the main application window. What's the compiler flag to stop this?</p>