How to get the output of an OS X application on the console, or to a file?

Chris gave a good overview of how the Console works, but to specifically answer your question: If you want to see the results directly in your Terminal, you need to run the built product as a child of the Terminal, which means using something like

/path/debug/build/MyProgram.app/Contents/MacOS/MyProgram

to launch the app.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)