Return to Snippet

Revision: 9034
at October 17, 2008 22:55 by itsok2kry


Initial Code
template < class T >
class LinkedNode;

template < class T >
class LinkedList
{
	private:
		LinkedNode< T > * firstNode; //the first node in our list
		//LinkedNode * currentNode; //the node we're currently operating on
		//void setCurrentNode( int nodeNumber );
		int size;
	public:
		LinkedList< T >();
		void add( T value );
		void remove( T value );
		void removeByIndex( int index );
		T get( int index );
		int getSize();

};

Initial URL


Initial Description


Initial Title
Linked List (LinkedList.h)

Initial Tags


Initial Language
C++