Nov 1, 2013 #1 Panchovia Programmer Joined May 6, 2010 Messages 48 Location CW When I run this code above error appears how do you solve this error #include "stdafx.h" #include <allegro5\allegro.h> #include <allegro5\allegro_native_dialog.h> int main(int argc, char* argv[]); {allegro_init(); allegro_message("Hello World"); return 0; }
When I run this code above error appears how do you solve this error #include "stdafx.h" #include <allegro5\allegro.h> #include <allegro5\allegro_native_dialog.h> int main(int argc, char* argv[]); {allegro_init(); allegro_message("Hello World"); return 0; }
Nov 1, 2013 #2 xwb Programmer Joined Jul 11, 2002 Messages 6,828 Location GB Try removing the ; on the line with main. Upvote 0 Downvote