代码搜索:ListNode
找到约 740 项符合「ListNode」的源代码
代码结果 740
www.eeworm.com/read/193041/8256885
cpp 8b.cpp
#include
using namespace std;
//***********************
class List;
class ListNode {
friend class List;
private:
int data;
ListNode* link;
public:
ListNode(int x, ListNod
www.eeworm.com/read/170798/9789309
h list.h
// VirtualDub 2.x (Nina) - Video processing and capture application
// Copyright (C) 1998-2001 Avery Lee, All Rights Reserved.
//
// This program is free software; you can redistribute it and/or mo
www.eeworm.com/read/270032/11051280
h list.h
// -*- C++ -*-
// list.h by George Vanecek Jr. June 1994
#ifndef _LIST_H_
#define _LIST_H_
#ifndef __STDLIB_H__
#include
#endif
#ifndef _BASIC_H_
#include "basic.h"
#endif
class ListNod
www.eeworm.com/read/269229/11105023
cpp recurve.cpp
//递归运算(栈的应用)Recurve.cpp
#include
#include
class list;
class listnode{
friend class list;
int data;
listnode *link;
listnode(int value,listnode *zz):data(value)
www.eeworm.com/read/411198/11252999
h list.h
/*
*
* $Header: /usr/u/wjr/src/ADT/RCS/list.h,v 1.12 1993/07/26 22:15:42 wjr Exp $
*
* Copyright (c) 1990, 1991, 1992, 1993 Cornell University. All Rights
* Reserved.
*
* Copyright (c) 1991, 1
www.eeworm.com/read/335639/12510329
h temlistnode.h
// this file presents a definition to the template clss Listnode
#ifndef TEMLISTNODE_H
#define TEMLISTNODE_H
#include
template class List;
template < class Nodetype>
www.eeworm.com/read/249070/12523290
txt c04p191.txt
List::List(const List& aList): size(aList.size)
{
if (aList.head == NULL)
head = NULL; // original list is empty
else
{ // copy first node
head = new ListNode;
head->item
www.eeworm.com/read/249070/12523296
txt c04p194.txt
void List::retrieve(int index,
ListItemType& dataItem) const throw(ListIndexOutOfRangeException)
{
if ((index < 1) || (index > getLength()))
throw ListIndexOutOfRangeExcep
www.eeworm.com/read/249070/12523466
txt c08p418b.txt
// *********************************************************
// Header file ListT.h for the ADT list.
// Pointer-based implementation -- TEMPLATE VERSION
// *******************************************
www.eeworm.com/read/249070/12523477
txt c08p409b.txt
// *********************************************************
// Header file List.h for the ADT list.
// Uses ListNode and BasicADT.
// *********************************************************
#includ