The full error message contains more information: the name of the source file and the line number. Inspect that line and the preceeding lines, or show us the full message and indicate the line in the posted code.
However, your posted code snippets should result in an error in the
aliens
class:
class aliens: public enemies
{
public;
void print_information();
private:
string colour;
};
There is a semicolon instead of a colon after the
public
keyword.