Does anyone here know how to make the a working console when using SDL.
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:
But does anyone know how make the console box display text when run from a .exe?
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:
Code:
freopen("CON", "w", stdout);
freopen("CON", "w", stderr);
Comment