I am working on eclipse workspace and I have this code. I ran it into another program and it works perfectly, but eclipse doesn't like the line. Why is that, and how can I fix it?
Here is the code where the error is in (it's on line 32):
#ifndef SRC_PEOPLE_H_
#define SRC_PEOPLE_H_
#include "Human.h"
class People {
private:
int size;
int position;
static Human humans[100];
public:
People();
People(int size, int position);
void setHumans(Human humans[]);
void setSize(int size);
void setPosition(int position);
Human getHumans();
int getSize();
int getPosition();
Human search(std::string search);
void insert(Human newHuman)
};