Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need assistance writing a header file in C++. The file is named guild.h it mus

ID: 3852302 • Letter: I

Question

I need assistance writing a header file in C++. The file is named guild.h it must contain two classes. I need help writing these two classes I will post the description of these two classes below. This must be implemented as a linked list using insertion sort.

(1) Character: The Character class is a simple class for storing a name and level for
characters. It should have a means of retrieving these values after creation, but neither
should be mutable.

(2) Roster: The roster class stores Characters in level order—the first is the highest level,
the second second highest and so forth. It does this via insertion sort: The order is
updated whenever a new character is added. A Roster is initially created with no
Image: Sluggy Freelance (http://www.sluggy.com/comics/archives/daily/080921), Copyright Pete Abrams
members, just a name. It should, in addition to adding members, have the ability to print
out its roster via a function print. This class must use a linked list to store the
Characters.

Explanation / Answer

From what I understood, the Character class should contain a method for storing a character name-level map.
Something like a-1, b-2, c-3 .. z-26?

Could you also specify what exactly is needed for the Roster class? A sample use-case would help.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote