#ifndef LL_NODE_H_RAMSEY #define LL_NODE_H_RAMSEY #include using namespace std; struct Node { int value; Node *next; }; class LinkedList { public: LinkedList(); //constructor ~LinkedList(); //destructor LinkedList(const LinkedList &rhs); //copy constructor LinkedList(const int &rhs); //conversion const LinkedList & operator=(const LinkedList &rhs); //copy assignment int operator[](const int &index); // accessor void delete_element(const int &index); // which element to delete LinkedList & operator+(const LinkedList &rhs); //overload addition friend ostream & operator<<(ostream &out, const LinkedList &rhs);//output private: Node *front; //only element in the class <- this is our "boss" Node }; #endif