Re: how to check for an event
"speartip" <[email protected]> Tue, 14 Feb 2017 03:10:14 +0000
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
Well, a bit premature!
Code:
if (window == NULL) {
// In the case that the window could not be made...
printf("Could not create window: %s\n", SDL_GetError());
return 1;
I experienced problems with printf only to find out my IDE Eclipse is problematic with printf. After adding #include <cstdio> the printf was printing
the "Could not create window:" portion, but not the rest. Can anyone please tell me what is supposed to be printed after it : %s\n",SDL_GetError()
and how to get printf functional?
Thank you.
_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org