Quote:Original post by X3
its not SDL. Every Windows program should have either WinMain or main functions which are entry points for executables.
Actually it kind of is SDL. The way SDL works is with you declaring your own main() function which it then uses #defines to overwrite with its own so it can initialise your application correctly. Because of the fickleness of #define you have to use the correct declaration otherwise it won't work. You can't for instance have int main() or void main() you need the full declaration int main(int argc, char **argv)
As for dustydoodoo ... how long have you been programming? I suggest you go look up some c/c++ tutorials on google befor launching into SDL if you've never seen main() befor.