I only managed to get it working when running from cmd, when I execute the app, it displays a console box, but text does not display.
I found this code that creates the console box and stops SDL writing stdout:
Expand|Select|Wrap|Line Numbers
- freopen("CON", "w", stdout);
- freopen("CON", "w", stderr);