Compilation problem

Hello I have a problem:
I have 4 files: AllOnesGA.cpp, Population.h, Individual.h, GeneticAlgorithm.h

In AllOnesGA.cpp I wrote:
#include "GeneticAlgorithm.h"
#include "Population.h"
because I use this clases inside the file

An error message is comming out when I complile:

In file included from AllOnesGA.cpp:3:
GeneticAlgorithm.h:1:1: error: ‘include’ does not name a type
include "Population.h"

Thanks
Maybe because it should be
#include "Population.h"

Registered users can post here. Sign in or register to post.