ok well it seems that i post here once every month or so as a complete newbie coz i just got interested in c++ again, again, so here goes.
found out about the allegro library and it seems to be pretty cool, and i also have just aquired ms visual studio 6 and i am trying to get my first thing compiled but i cant seem to get it to work
i made a new empty win32 c++ application
i added a source file called main.cpp
Code:
#include <allegro.h>
int main (int argc, char *argv[])
{
allegro_init();
install_keyboard();
set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0);
readkey();
return 0;
}
END_OF_MAIN();
i tried to compile it by going build>buildallegrotest.exe and also the other options i think i tried them all and it just said i had an "error" in the output box. so i added allegro.h to it. but it made no difference.
how do you go about compiling something like that? i am a TOTAL newbie so please be nice to me