Review

Opening Video

To set up video, do this:
SDL_Surface * screen;
...
screen = SDL_SetVideoMode(width, height,
                          bpp, flags);
if (screen == NULL);
  {
    fprintf(stderr, "Error: %s\n",
            SDL_GetError());
    exit(1);
  }
When you're done:
SDL_FreeSurface(screen);