SDL force print in file

when I try using printf(), the output is put into a file and not the console

How would I force it to print into the console while using the SDL library??
try this:
fprintf(stdout, normal-argument-list...);

this should direct output to the console.
Last edited on
This behaviour is only on the Windows platform.

See here for how to fix it:
Last edited on
Thanks Peter87, Works perfectly!
Topic archived. No new replies allowed.