Double clicking the icon to run SDL program. |
Double clicking the icon to run SDL program. |
Jonny D
|
Could you show us the code (a minimal case is ideal)? If it is getting "skipped", then there's probably something in the code that isn't doing what you expect.
Jonny D On Sat, Mar 28, 2015 at 7:55 AM, bilsch01 wrote:
|
|||||||||||||
|
Re: Double clicking the icon to run SDL program. |
bilsch01
|
[quote="Jonny D"]Could you show us the code (a minimal case is ideal)? If it is getting "skipped", then there's probably something in the code that isn't doing what you expect.
People are telling me this question is not apropos to SDL. Please disregard the question. |
|||||||||||
|
Double clicking the icon to run SDL program. |
Ryan C. Gordon
Guest
|
Since there's no terminal when launched from an icon, maybe scanf() is returning immediately (stdin is at EOF) so the code is going with the values in those variables by default. --ryan. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
Double clicking the icon to run SDL program. |
Jared Maddox
Guest
|
Please check to make certain that it has nothing to do with SDL. It's probably something in the C library itself detecting the absence of a console, but if SDL is setting C library runtime option then we want to know. A simple program to write data to a file should be fine: one compilation that doesn't even link to SDL, one that links but doesn't initialize, and one that displays a blank window would hopefully catch all of the major corner cases. You should be able to fit it into a single file pretty easily. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|