代码搜索:链表实现
找到约 10,000 项符合「链表实现」的源代码
代码结果 10,000
www.eeworm.com/read/362558/9992352
txt 2_19.txt
int getnode(StaticList space, int *av)
/*从备用链表摘下一个结点空间,分配给待插入静态链表中的元素*/
{
int i;
i=*av;
*av=space[*av].cursor;
return i;
}
www.eeworm.com/read/358939/10175008
cpp yuesefu.cpp
#include"iostream.h"
#include"malloc.h"
typedef struct node{
int num;
struct node* next;
}lnode;
lnode* creat_link(int n);//创建循环链表
void print_link(lnode* head);//输出循环链表
void yuesefu(lnode*
www.eeworm.com/read/299227/7875101
h dcirlinkl.h
//双向循环链表的类定义dcirlinkl.h
typedef int ElemType;
//双向链表结点的类型定义
typedef struct DuLNode {
ElemType data;
struct DuLNode *prior;//左指针
struct DuLNode *next;//右指针
}DuLNode;
#define LEN 20
cl
www.eeworm.com/read/240259/13228622
h dcirlinkl.h
//双向循环链表的类定义dcirlinkl.h
typedef int ElemType;
//双向链表结点的类型定义
typedef struct DuLNode {
ElemType data;
struct DuLNode *prior;//左指针
struct DuLNode *next;//右指针
}DuLNode;
#define LEN 20
cl
www.eeworm.com/read/310200/13656104
h dcirlinkl.h
//双向循环链表的类定义dcirlinkl.h
typedef int ElemType;
//双向链表结点的类型定义
typedef struct DuLNode {
ElemType data;
struct DuLNode *prior;//左指针
struct DuLNode *next;//右指针
}DuLNode;
#define LEN 20
cl
www.eeworm.com/read/482998/6607042
cpp adtlink.cpp
#include
#include
#define ElemType int
typedef int Status;
// 链表类型
typedef struct Node
{
ElemType data;
struct Node *next;
} Node, *LinkList;
// 建立一个带头结点的空线性链表L
v
www.eeworm.com/read/155607/11861009
cpp 排序.cpp
#include
//#include
#include
//定义一个链表的结构体变量
typedef struct lnode
{int data;
struct lnode *next;
}lnode,*linklist;
//输出链表
void print(linklist head)
{linklis
www.eeworm.com/read/124268/14582702
cpp main.cpp
#include "iostream.h"
#include "DblList.h"
void main(){
int m,n,k;
int i;
cout > m;
DblList myList(m);
DblList DelList(m);//保存删除顺序链表
//产生链表
for (
www.eeworm.com/read/212829/15148303
h dcirlinkl.h
//双向循环链表的类定义dcirlinkl.h
typedef int ElemType;
//双向链表结点的类型定义
typedef struct DuLNode {
ElemType data;
struct DuLNode *prior;//左指针
struct DuLNode *next;//右指针
}DuLNode;
#define LEN 20
cl
www.eeworm.com/read/195829/5107056
txt 2_19.txt
int getnode(StaticList space, int *av)
/*从备用链表摘下一个结点空间,分配给待插入静态链表中的元素*/
{
int i;
i=*av;
*av=space[*av].cursor;
return i;
}