[SDL] is SDL supposed to be using WinMain?

Torsten Giebl wizard at syntheticsw.com
Fri Sep 7 16:05:08 PDT 2007


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



More information about the SDL mailing list