Beginning of the program

Will explain this program in fragments.

Complete listing in Listing 4.

Listing 1, shows the beginning of the program.

Listing 1. Beginning of the program.
#include <allegro.h>

int main(){
  allegro_init();//Allegro initialization
  install_keyboard();//Set up for keyboard input
  //Need to set the color depth before setting the
  // graphics mode.
  //Set the graphics mode to a 256x256-pixel window.