代码搜索:ListNode
找到约 740 项符合「ListNode」的源代码
代码结果 740
www.eeworm.com/read/111298/15514797
h linlist.h
template class LinList; //前视定义,否则友元无法定义
template //模板类型为T
class ListNode
{
friend class LinList; //定义类LinList为友元
friend void LinListSort(LinList &L);
p
www.eeworm.com/read/111298/15514802
h linlist.h
#include
#include
template class LinList; //前视定义,否则友元无法定义
template //模板类型为T
class ListNode
{
friend class LinList; //定义类LinList为友元
www.eeworm.com/read/111298/15514807
h linlist2.h
template class LinList; //前视定义,否则友元无法定义
template //模板类型为T
class ListNode
{
friend class LinList; //定义类LinList为友元
friend void LinListSort(LinList &L);
p
www.eeworm.com/read/101790/15814697
htm subject_56568.htm
序号:56568 发表者:jannie 发表日期:2003-10-18 20:51:16
主题:运行时提示内存出错!帮忙看看原因吧!谢了
内容:目的是读入一个字符串,每次一个字符,将其放在链表的末尾。相关数据结构:typedef struct node{ DataType data;
www.eeworm.com/read/101562/15825388
h queue.h
#include "head.h"
struct listnode{
node *data;
listnode *next;
};
class queue{
public:
listnode *front; //指向表头结点的指针
listnode *rear; //指向链尾结点的指针
public:
queue(void); //构造函数
~queue
www.eeworm.com/read/100861/15863605
cpp data_structures.cpp
#include "../framework.h"
List::List(void) {
head = NULL;
tail = NULL;
items = 0;
}
List::~List(void) {
Listnode *n, *m;
for (n = head; n != NULL; n = m) {
m
www.eeworm.com/read/161658/10388476
cpp list.cpp
// List.cpp: implementation of the List class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include
#include "tzObject.h"
#include
www.eeworm.com/read/299372/7864420
cpp list.cpp
// List.cpp: implementation of the List class.
//
//////////////////////////////////////////////////////////////////////
#include
#include "tzObject.h"
#include "List.h"
////////
www.eeworm.com/read/298700/7944796
h listnd.h
// ListNode template definition
#ifndef LISTND_H
#define LISTND_H
template< class NODETYPE > class List; // forward declaration
template
class ListNode
{
friend class List
www.eeworm.com/read/140120/13108036
cpp ex5_9.cpp
/* Code for exercise 5.9.
|
| "C++ Solutions--Companion to The C++ Programming Language, Third Edition"
| by David Vandevoorde; Addison-Wesley 1998; ISBN 0-201-30965-3.
|
| Permission to us