Listing 1. Beginning of the program.
#include <allegro.h>; int main(){ //Do the preliminaries. allegro_init(); install_keyboard(); set_gfx_mode(GFX_AUTODETECT_WINDOWED,400,400,0,0);