IntNode class
I am providing the IntNode class you are required touse. Place this class definition within the IntList.h file exactlyas is. Make sure you place it above the definition of your IntListclass. Notice that you will not code an implementation file for theIntNode class. The IntNode constructor has been defined inline(within the class declaration). Do not write any other functionsfor the IntNode class. Use as is.
struct IntNode
{
int data;
IntNode *next;
IntNode( int data ) : data(data), next(0){}
};
IntList class
Encapsulated (Private) Data Fields
-
head: IntNode *
-
tail: IntNode *
Public Interface (Public Member Functions)
-
IntList()
-
IntList( const IntList &list)
-
~IntList()
-
void display() const
-
void push_front( int value )
-
void push_back( int value )
-
void
ORPayPal Gateway not configured
ORPayPal Gateway not configured