exbitmap(3) 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.