Homework/HW03/ListIterator.cc
ListNode *ListIterator::operator=(ListNode *link)
{
    current = link; // store the pointer in the target object
    return current; // then return it
}
// Assignment operator with a ListNode pointer
Assignment operator with a ListNode pointer
Assignment operator with a ListNode pointer
ListNode *ListIterator::operator=(ListNode *link)
{
    current = link; 
    return current; 
}
ListNode * ListIterator :: operator = ( ListNode * link ) { current = link ; return current ; }
Assignment operator with a ListNode pointer
Assignment operator with a ListNode pointer
// store the pointer in the target object // then return it