Need Help Class Function Please Include Using Namespace Std Class Team String Teamid Strin Q37049208

team list The team list is a dynamic linked list of team objects. The only data needed is a head pointer for the linked list

readData: Reads data from a file called teams.txt and adds them to the linked list. The format of the input file is, for ea

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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.