I have the next 3 classes everyone which includes each other but i receive a set of error that i cannot figure out how to solve . There are my classes and a picture of the errors:
class Project
{
private:
string name;
tm starttime;
tm deadline;
int ID_coordonator;
string descriere;
vector <Team> listaEchipe;
public:
Project();
void setName(string name);
void setStarttime(tm start);
void setDeadline(tm deadline);
void setCoordonator(int id);
void setDescription(string des);
int getNrOfTeam();
void addTeam(Team vt);
string getTeamsDescriptionAfterName(string teamsName);
vector<User> getTeamsMembersAfterName(string teamsName);
};
...
class Team
{
private:
int ID;
string Denumire;
string Descriere;
tm startTime;
tm deadLine;
vector<User> membri;
public:
Team();
Team(string name,string Description,vector<User> lista):Denumire(name),Descriere(Description),membri(lista){};
string getName();
string getDescription();
vector<User> getMembers();
};
...
class Project
{
private:
string name;
tm starttime;
tm deadline;
int ID_coordonator;
string descriere;
vector <Team> listaEchipe;
public:
Project();
void setName(string name);
void setStarttime(tm start);
void setDeadline(tm deadline);
void setCoordonator(int id);
void setDescription(string des);
int getNrOfTeam();
void addTeam(Team vt);
string getTeamsDescriptionAfterName(string teamsName);
vector<User> getTeamsMembersAfterName(string teamsName);
};
And my errors are the next :
I was looking on google for 2 hours but couldn't find anything usefull. please help
清洁解决了我的问题,现在它可以正常工作了。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.