Warning: this is an htmlized version!
The original is across this link,
and the conversion rules are here.
// http://www.lazyfoo.net/SDL_tutorials/lesson01/index2.php
// (find-load81file "om")
// (find-fline "~/IMAGES/littlelangs.png")
// http://sdl.beuc.net/sdl.wiki/SDL_image

/*
// (find-angg "elisp/myxpm.el")
' (find-myxpmscaled+
    '("y c yellow"
      "r c red")
    '("yy"
      "yy")
    "yellow.xpm" t)

' (find-myxpmscaled+
    '("y c yellow"
      "r c red")
    '("rr"
      "rr")
    "red.xpm" t)

identify *.xpm

*/

/*
* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
gcc -c -o 1.o 1.c
gcc    -o 1 `sdl-config --cflags` `sdl-config --libs` 1.c
convert ~/IMAGES/littlelangs.png hello.bmp
./1
*/

//Include SDL functions and datatypes
#include "SDL/SDL.h"

int main( int argc, char* args[] )
{
    //The images
    SDL_Surface* hello = NULL;
    SDL_Surface* screen = NULL;

    //Start SDL
    SDL_Init( SDL_INIT_EVERYTHING );

    //Set up screen
    screen = SDL_SetVideoMode( 640, 480, 32, SDL_SWSURFACE );

    //Load image
    hello = SDL_LoadBMP( "hello.bmp" );

    //Apply image to screen
    SDL_BlitSurface( hello, NULL, screen, NULL );

    //Update Screen
    SDL_Flip( screen );

    //Pause
    SDL_Delay( 2000 );

    //Free the loaded image
    SDL_FreeSurface( hello );

    //Quit SDL
    SDL_Quit();

    return 0;
}