#include BITMAP* sonelec; int main(){ allegro_init(); install_keyboard(); set_color_depth(16); set_gfx_mode( GFX_AUTODETECT, 640, 480, 0, 0); sonelec = load_bitmap( "sonelec.bmp", NULL); acquire_screen(); draw_sprite ( screen, sonelec, 220, 20); textout_ex( screen, font, "Sonic Electronic!", 220, 400, makecol( 255, 0, 0), makecol( 0, 0, 0) ); release_screen(); readkey(); }