代码搜索:链表实现
找到约 10,000 项符合「链表实现」的源代码
代码结果 10,000
www.eeworm.com/read/315999/13532821
h c2-3.h
// c2-3.h 线性表的静态单链表存储结构。在教科书第31页
#define MAX_SIZE 100 // 链表的最大长度
typedef struct
{ ElemType data;
int cur;
}component,SLinkList[MAX_SIZE];
www.eeworm.com/read/133698/5903589
java uselinklist.java
public class UseLinkList //定义主类
{
public static void main(String args[])
{
LinkList list = new LinkList(-1); //创建链表,含有一个节点
for(int i=0;i
www.eeworm.com/read/264563/11310156
cpp 3.cpp
//11.1 实验一代码:
#include "basic.h"
#include
using namespace std;
#include "string.h"
pnode *proot;//进程树链表根结点
pnode *plink;//进程树链表指针
bool isExistPc(int pcid)
{
pnode *p;
for(
www.eeworm.com/read/400543/11574660
h c2-3.h
// c2-3.h 线性表的静态单链表存储结构。在教科书第31页
#define MAX_SIZE 100 // 链表的最大长度
typedef struct
{ ElemType data;
int cur;
}component,SLinkList[MAX_SIZE];
www.eeworm.com/read/261813/11622826
c link.c
/*链表的演示
2006.4.30
熊小辉
*/
#include
#include
#include
#include
#include
//双链表的定义
typedef struct link
{ int dat; //数值
struct link
www.eeworm.com/read/224965/14559766
cpp cdlinklist.cpp
/*循环双链表基本运算函数*/
#include
#include
typedef char ElemType;
typedef struct DNode /*定义双链表结点类型*/
{
ElemType data;
struct DNode *prior; /*指向前驱结点*/
struct DNode *next; /*指向后
www.eeworm.com/read/218317/14926716
cpp get_code.cpp
#include "get_code.h"
#include
#include
LCode* InPutCode()//将代码读入内存(链表)
{
ifstream fin("panda.txt");
LCode* head;//存放代码的链表
LCode* pEnd;
LCode* pS;
pS=new LCode;
www.eeworm.com/read/330377/3424302
h linkedlist.h
//单链表类
#ifndef LINKEDLIST_H
#define LINKEDLIST_H
template //定义在“LinkedList.h”
struct LinkNode { //链表结点类的定义
E data; //数据域
LinkNode *link; //链指针域
www.eeworm.com/read/392817/8324915
cpp 1.cpp
#include
using namespace std;
struct node
{
char data;//用于存放数据
node *next;//定义一个向下的节点
};
node *Create();//创建链表的函数
void Showlist(node *head);//遍历链表的函数
void main()
{
node *head;
www.eeworm.com/read/100780/15864405
cpp linklist.cpp
#include "LinkList.h"
void Initlist(link &L) //初始化一个空的线性链表L
{
L->next=NULL;
Llength=0;
}//Initlist
int Listlength(link L) //求链表的长度
{
return Llength;
}//Listlength
int Listem