[SDL] sdlmain
Torsten Giebl
wizard at syntheticsw.com
Tue Jul 4 06:12:53 PDT 2006
Hello !
> 1) 'main' is standard C function whose prototype is exactly:
> int main(int, char**, char**).
What would be this second char** ?
The good thing about SDLmain is you can use it.
But you are not forced to use it. For me years ago
as a C/C++ beginner it was better and easier just
to use int main ...... then using int WinMain ....
I do not know what BeOS needs.
That way i can write code that "just works" on all
the plattforms and i do not have to think about
what main definition i need on what plattform.
But when you have special needs you do not need to use
SDLmain.
CU
More information about the SDL
mailing list