Question: C + + , Visual Studio. I ' m working on a project that holds Rainfall Statistics. It adds a month of statistics, edits a
C Visual Studio. Im working on a project that holds Rainfall Statistics. It adds a month of statistics, edits a month of statistics, and prints a report to the console. Im currently working on implementing a List.h file into a List.cpp file. List.h: #ifndef LISTH
#define LISTH
#include "ListInterface.h
#include "Node.h
#include "PrecondViolatedExcept.h
template
class LinkedList : public ListInterface
private:
Node headPtr; Pointer to first node in the chain
int itemCount; Current count of list items
Node getNodeAtint position const;
public:
LinkedList;
LinkedListconst LinkedList& aList;
virtual ~LinkedList;
bool isEmpty const;
int getLength const;
bool insertint newPosition, const ItemType& newEntry;
bool removeint position;
void clear;
ItemType getEntryint position const;
void setEntryint position, const ItemType& newEntry;
;
#include "List.cpp
#endif Basically Im not sure how to implement List.H in my List.cpp file. I would appreciate any help and I would greatly appreciate comments.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
