Review

Images

Loading BMP bitmaps and drawing them is easy, too:

SDL_Surface * temp, * image;
SDL_Rect dest;

...

/* LOAD AND CONVERT: */

temp = SDL_LoadBMP("picture.bmp");
image = SDL_DisplayFormat(temp);
SDL_FreeSurface(temp);

...

/* DRAW AND UPDATE: */

dest.x = x;
dest.y = y;
dest.w = image->w;
dest.h = image->h;

SDL_BlitSurface(image, NULL,
                screen, &dest);

SDL_UpdateRect(screen,
               dest.x, dest.y,
               dest.w, dest.h);