代码搜索:链表实现
找到约 10,000 项符合「链表实现」的源代码
代码结果 10,000
www.eeworm.com/read/101525/15827980
txt 4.txt
以下是用c++实现的链表的数据结构。
笔者还做了栈,队列,循环队列,串等数据结构,如有需要者请
E-mail:cangzhu@163.com
#include"iostream.h"
#include"stdio.h"
#include"stdlib.h"
#define TRUE 1
#define FALSE 0
#define OK 1
#define ER
www.eeworm.com/read/191798/8422058
txt cirlinklistm.txt
//单循环链表的类定义cirlinklist.h
#define LEN 20
typedef int ElemType;
//单循环链表中结点的类型
typedef struct Lnode {
ElemType data; //值域
Lnode* next; //指针域
}LNode;
class cirlinklist
{private:
LNode
www.eeworm.com/read/191798/8422082
h cirlinklist.h
//单循环链表的类定义cirlinklist.h
#define LEN 20
typedef int ElemType;
//单循环链表中结点的类型
typedef struct Lnode {
ElemType data; //值域
Lnode* next; //指针域
}LNode;
class cirlinklist
{private:
LNode
www.eeworm.com/read/388968/8561107
h simulation.h
typedef LinkList EventList; //事件链表类型,定义为有序链表
EventList ev; //事件表
Event en; //事件
LinkQueue Q; //等候理发的顾客队列
QElemType customer; //顾客记录
int t2,t1,Totaltim
www.eeworm.com/read/283541/9010824
h cirlinklist.h
//单循环链表的类定义cirlinklist.h
#define LEN 20
typedef int ElemType;
//单循环链表中结点的类型
typedef struct Lnode {
ElemType data; //值域
Lnode* next; //指针域
}LNode;
class cirlinklist
{private:
LNode
www.eeworm.com/read/185058/9059048
cpp onelink_insert.cpp
#include //包含rand函数
#include "Onelink.h" //单链表类
void insert_sorted(Onelink &h1,int k) //k值插入已排序的单链表h1
{ //引用类
www.eeworm.com/read/380114/9163492
txt cirlinklistm.txt
//单循环链表的类定义cirlinklist.h
#define LEN 20
typedef int ElemType;
//单循环链表中结点的类型
typedef struct Lnode {
ElemType data; //值域
Lnode* next; //指针域
}LNode;
class cirlinklist
{private:
LNode
www.eeworm.com/read/380114/9163509
h cirlinklist.h
//单循环链表的类定义cirlinklist.h
#define LEN 20
typedef int ElemType;
//单循环链表中结点的类型
typedef struct Lnode {
ElemType data; //值域
Lnode* next; //指针域
}LNode;
class cirlinklist
{private:
LNode
www.eeworm.com/read/183295/9171478
h cirlinklist.h
//单循环链表的类定义cirlinklist.h
#define LEN 20
typedef int ElemType;
//单循环链表中结点的类型
typedef struct Lnode {
ElemType data; //值域
Lnode* next; //指针域
}LNode;
class cirlinklist
{private:
LNode
www.eeworm.com/read/299227/7875008
h cirlinklist.h
//单循环链表的类定义cirlinklist.h
#define LEN 20
typedef int ElemType;
//单循环链表中结点的类型
typedef struct Lnode {
ElemType data; //值域
Lnode* next; //指针域
}LNode;
class cirlinklist
{private:
LNode