Anyone know why this won't compile
Code:
#include <allegro.h>
int main()
{
allegro_init();
install_keyboard();
set_gfx_mode(GFX_VGA,320,200,0,0);
textout_centre(screen,font,"Ready. Beep.",160,100,255);
readkey();
return 0;
}
i get the following errors
Code:
7 main.cpp
`GFX_VGA' undeclared (first use this function)
7 main.cpp
(Each undeclared identifier is reported only once
7 main.cpp
for each function it appears in.)
and the linker errors of
Code:
g++: c:\my documents\jeff\tutorial\main.o: No such file or directory
g++: file path prefix `C:\DEV-C_~1\BIN\' never used
thanx for your help??
by the way I am using dev c++ IDE