Need help with this class and function please!!!
#include <iostream>
using namespace std;
class Team {
string teamId;
string name;
string coach;
Team *next;
friend class teamlist;
public:
Team * getNext();
return next;
void setNext(Team *r);
next=r;
string getTeamId();
return teamId;
void setTeamId(string aTeamId);
teamId = aTeamId;
string getName();
return name;
void setName(string aName);
name = aName;
string getCoach();
return coach;
void setCoach(string aCoach);
coach = aCoach;
}
team list The team
OR
OR