[SDL] is SDL supposed to be using WinMain?

malik martin laserbeak43 at gmail.com
Fri Sep 7 20:04:06 PDT 2007


ok good to remember thanks guys!!

On 9/7/07, Torsten Giebl <wizard at syntheticsw.com> wrote:
> Hello !
>
>
> > In any good practice main should always return an int, but the
> > arguments are optional so int main(void) is still valid.
>
>
> It is, but when using SDL you should use
> the int main(int argc, char *argv []) way,
> as SDL needs it.
>
>
> CU
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>


More information about the SDL mailing list