#include using namespace std; int main(int arg, char *argv[]) { allegro_init(); install_keyboard(); set_gfx_mode(GFX_AUTODETECT, 640,480,0,0); // Change our graphics mode to 640x480 readkey(); // Wait till a key is pressed return 0; //exit w/no errors } END_OF_MAIN()