Loading and displaying pcx and bmp files. allegro game programming library.
#include <allegro.h>
Example exbitmap
This program demonstrates how to load and display a bitmap file. You have to use this example from the command line to specify as first parameter a graphic file in one of Allegro's supported formats. If the file is loaded successfully, it will be displayed until you press a key.
BITMAP(3alleg4), END_OF_MAIN(3alleg4), PALETTE(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), destroy_bitmap(3alleg4), install_keyboard(3alleg4), load_bitmap(3alleg4), readkey(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4)