what lib files do you need to include to get an allegro 4 program to compile. Heres some code included with an allegro tutorial:

#include <stdio.h>
#include <allegro.h>

int main (void)
{
allegro_init();
check_cpu();

printf("\nAllegro reports OK!\n");
printf("\nThis test was compiled with %s\n",allegro_id);
printf("Your CPU Vendor : %s\n",cpu_vendor);

return 0;
}
END_OF_MAIN()



i am currently including:

alld.lib
alleg.lib
allp.lib

which are the only lib files included in the msvc folder Im using MSVC++ 6.0
heres my error message I got more errors before adding the .libs mentioned above
--------------------Configuration: test - Win32 Debug--------------------
Compiling...
test.c
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

test.exe - 2 error(s), 0 warning(s)