代码搜索:ListNode
找到约 740 项符合「ListNode」的源代码
代码结果 740
www.eeworm.com/read/249070/12523310
txt c04p195.txt
void List::remove(int index) throw(ListIndexOutOfRangeException)
{
ListNode *cur;
if ((index < 1) || (index > getLength()))
throw ListIndexOutOfRangeException(
"ListIndexOu
www.eeworm.com/read/249070/12523316
txt c04p193.txt
bool List::isEmpty() const
{
return size == 0;
} // end isEmpty
int List::getLength() const
{
return size;
} // end getLength
List::ListNode *List::find(int index) const
// ----------------
www.eeworm.com/read/249070/12523350
txt c04p189.txt
// *********************************************************
// Header file ListP.h for the ADT list.
// Pointer-based implementation.
// *********************************************************
#inc
www.eeworm.com/read/249070/12523529
txt c08p432.txt
#include "ListI.h"
ListIterator List:: begin() const
{
ListIterator iter(this, head);
return iter;
} // end begin
ListIterator List::end() const
{
ListIterator iter(this, NULL);
return i
www.eeworm.com/read/249070/12523798
h listp.h
// *********************************************************
// Header file ListP.h for the ADT list.
// Pointer-based implementation.
// *********************************************************
#inc
www.eeworm.com/read/249070/12524071
h listp.h
// *********************************************************
// Header file ListP.h for the ADT list.
// Pointer-based implementation.
// *********************************************************
#inc
www.eeworm.com/read/249070/12524219
cpp listi.cpp
#include "ListI.h"
// incomplete implementation here, needs constructor,
// destructor and member functions
// isEmpty, getLength, findPrev, and remove
ListIterator List:: begin() const
{
ListIte
www.eeworm.com/read/249070/12524261
h listp.h
// *********************************************************
// Header file ListP.h for the ADT list.
// Pointer-based implementation.
// *********************************************************
#inc
www.eeworm.com/read/237387/13965104
c list.c
/*
*
* $Header: /usr/u/wjr/src/ADT/RCS/list.c,v 1.19 1993/09/02 21:48:33 wjr Exp $
*
* Copyright (c) 1990, 1991, 1992, 1993 Cornell University. All Rights
* Reserved.
*
* Copyright (c) 1991, 1
www.eeworm.com/read/100263/15879549
h tintin.h
/*********************************************************************/
/* file: tintin.h - the include file for tintin++ */
/* TINTIN ++