I get lots of errors when I try to compile my C++ Allegro program.
Description
I get lots of errors when I try to compile my C++ Allegro program.
You are probably declaring the use of a namespace before including
Allegro headers. For example:
#include <iostream>
using namespace std;
#include <allegro.h>
Move the `using' declaration after the `include' directives referring
to Allegro headers:
#include <iostream>
#include <allegro.h>
using namespace std;