CISS 243 Columbia College Baseball Stats Player C++ Programming Homework Using the attached files, Overload the [ ] operator in the linked list so that it

CISS 243 Columbia College Baseball Stats Player C++ Programming Homework Using the attached files, Overload the [ ] operator in the linked list so that it behaves like an array. If 0 is provided it gets the first element (data stored in list) in the list, if 1 is provided then it returns the second element in the list.

Create a class called BaseballPlayer which maintains the player’s stats and name.

Don't use plagiarized sources. Get Your Custom Essay on
CISS 243 Columbia College Baseball Stats Player C++ Programming Homework Using the attached files, Overload the [ ] operator in the linked list so that it
For $10/Page 0nly
Order Essay

The class will have data members for the following stats

Number of hits
Number of home runs
Number of walks
Number of strike outs

Provide methods

Constructor with four parameters
Accessors and mutators for the data members
Overload any operators that are needed

The driver class will create several players and put them into an instance of the derived linked list class. The program will tell the user which player has the best stats based the scoring below and which player is the worst.

A hit is worth 1 point
A home run is worth 4 points
A walk is worth 1 point
A strike out is worth -1 points
The total of the points will determine who has the higher and lower stats.

Calculator

Calculate the price of your paper

Total price:$26

Need a better grade?
We've got you covered.

Order your paper