Homework/HW02/List.cc
ListIterator List::nodeAtPosition(int location)
{
    //Start at the head of the list.
    ListIterator currentNode = head;

    //Move forward however many nodes desired.
    currentNode.moveForward(location);

    return currentNode;
}
/****************************** List::nodeAtPosition ***********************************************
Action:         Locates the requested zero-based element number of the list and returns a
                ListIterator pointing to such.  If the list doesn't have the requested number of
                nodes (+1), then it will return a NULL ListIterator.  Utilizes the
                ListIterator::moveForward function.

Parameters:
IN:             int location, contains the zero-based element number that is requested.
OUT:            None

Returns:        ListIterator, pointing to the requested zero-based list element.

Precondition:   None
***************************************************************************************************/
:nodeAtPosition
Action:         Locates the requested zero-based element number of the list and returns a
ListIterator pointing to such.  If the list doesn't have the requested number of
nodes (+1), then it will return a NULL ListIterator.  Utilizes the
ListIterator::moveForward function.

int location, contains the zero-based element number that is requested.
OUT:            None

ListIterator, pointing to the requested zero-based list element.

None
: nodeAtPosition Action : Locates the requested zero - based element number of the list and returns a ListIterator pointing to such . If the list doesn ' t have the requested number of nodes ( + 1 ) then it will return a NULL ListIterator . Utilizes the ListIterator :: moveForward function . int location contains the zero - based element number that is requested . OUT : None ListIterator pointing to the requested zero - based list element . None
ListIterator List::nodeAtPosition(int location)
{
    ListIterator currentNode = head;
    currentNode.moveForward(location);
    return currentNode;
}
ListIterator List :: nodeAtPosition ( int location ) { ListIterator currentNode = head ; currentNode . moveForward ( location ) ; return currentNode ; }
List::nodeAtPosition
Action:         Locates the requested zero-based element number of the list and returns a
ListIterator pointing to such.
List :: nodeAtPosition Action : Locates the requested zero - based element number of the list and returns a ListIterator pointing to such .
//Start at the head of the list. //Move forward however many nodes desired.