Printf is not printing anything to output? C++ SDL
Posted
by
Qasim
on Stack Overflow
See other posts from Stack Overflow
or by Qasim
Published on 2012-06-17T02:48:22Z
Indexed on
2012/06/17
9:16 UTC
Read the original article
Hit count: 227
I am trying to use "printf" in my Visual C++ project however it is not working. Using Lazy Foo's tutorial, I set up SDL in my project, but when I play it, printf doesnt do anything.
#include "SDL.h"
#include <stdio.h>
int main( int argc, char* args[] ) {
printf("Testing");
return 0;
}
The output looks like this:
The program '[4664] SDL Testing.exe: Native' has exited with code 0 (0x0).
And that's about it. What could be wrong?
© Stack Overflow or respective owner