I dont know exactly but you can try with this:
(1) Put in your programme the header files:
#include <stdio.h>
#include <stdlib.h>
#include <allegro.h> /* For graphics library functions */
#include <time.h>
(2) To exit you need to call the allegro_exit( ) function,
then the final lines of your main programme should be:
.................
allegro_exit();
return 0;
}
END_OF_MAIN( );
|