SO, I'm using the latest version and the latest version of Allegro, but on lines 6 and 12 I seem to have encountered some errors that are not yet clear to me. I am very new to C++ as well as Allegro, so any help would be very much appreciated.
For line 6 I have the error message: "expected identifier or '(' before string constant
For line 12, I have the error message: "'display' undeclared (first use in this function)
#include<allegro5/allegro.h>
#include<allegro5/allegro_native_dialog.h>
int main()
{
ALLEGRO_DISPLAY "display";
if(!al_init())
{
al_show_native_message_box(NULL, NULL, NULL, "Could not initialize Allegro 5", NULL, NULL);
}
display = al_create_display(800, 600);
if(!display)
{
al_show_native_message_box(NULL, NULL, NULL, "Could not create Allegro Window", NULL, NULL);
}
return 0;
}