[SDL] headers.....directives

Lucas Goss lgoss007 at gmail.com
Sat Apr 19 06:19:50 PDT 2008


Strange error, but there are a couple things wrong with this...

>  #include SDL.h
>
>
>    int main()(int argc, char*, arvg[])
>
>  {

The SDL.h should be in "" or in <>, and there should only be two
arguments in main, it should look like this:

#include "SDL.h"

int main(int argc, char* argv[])
{
  /*...main code */
  return 0;
}

Lucas


More information about the SDL mailing list