este el codigo , creo q aqui no hay problema , el problema es al momento de compilar
Código
#include <allegro5/allegro.h> #include <allegro5/allegro_native_dialog.h> void allegro_start(char *title,int width, int height) { allegro_init(); set_color_depth(24); set_gfx_mode(GFX_AUTODETECTED_WINDOWED,windth,height,0,0); set_window_title(title); install_keyboard(); install_mouse(); install_timer(); } int main() { allegro_start("TEST ",400,300); while(!keypressed()); return 0; }
Mod: Los códigos deben ir en etiquetas GeSHi