Hi
I am new in using the graphics option in Pelles C compiler. After surfing the net I found out that I need to use SDL as an easy option in order to use graphics option. I found the details on the following website:
http://www.friedspace.com/cprogramming/sdlbasic.phpand after following all the guide through steps I downloaded an example program from the above link but while compiling it I am constantly getting the following message:
and while executing I got the following error:
Use <stdlib.h> instead of non-standard <malloc.h>
Building SDLTest.obj.
Use <stdlib.h> instead of non-standard <malloc.h>
Building naeem1.exe.
POLINK: error: Symbol '_SDL_main' is multiply defined: 'main.obj' and 'SDLTest.obj'. and can not run the program. Can you help me out please
Thanks