Did that before, still doesn't work.
If you run a console-application from (e.g.) windows explorer (I assume you are on windows), that does nothing but write some text on console (like the default hello-world example), you will see a console window flashing, long enough to display the text and close.
if you run it from commandline (cmd.exe in windows), you will see the output.
ALternatively you can run it through C::B and make sure the settings are like oBFusCATed has posted.