my code looks like this:
Code:
#include <allegro.h>
int main(int argc, char *argv[])
{
allegro_init();
install_keyboard();
set_color_depth(16);
set_gfx_mode(GFX_AUTODETECT, 640,480,0,0);
BITMAP *my_pic = NULL;
my_pic = load_bitmap("picture.bmp", NULL);
blit(my_pic, screen, 0,0,0,0,480,360);
readkey();
destroy_bitmap(my_pic);
return 0;
} END_OF_MAIN()
of course, i copyed this off of a tut website. i got allegro but i get the following error from above...
semi-colon after END_OF_MAIN() or not it still doesn't work...