#include #include #include #define STU_SIZE 100 #define n 20 #define ERROR 0 #define OK 1 typedef int status; struct s…
linklist 源代码
LinkList,一种高效灵活的数据结构,广泛应用于电子系统设计与软件开发中,尤其在嵌入式系统、数据库管理及算法实现等领域展现出强大优势。通过本页面精心挑选的12个资源,您将深入了解链表的工作原理、优化技巧及其在实际项目中的应用案例。无论是初学者还是经验丰富的工程师,都能在这里找…
//--------------------出错信息处理函数-------------------------------------------- void ERRORMESSAGE(char *s) { cou…
#include #include #include #include #define BLOCK_SIZE 500 //初始空闲分区大小 #define NULL 0 typedef struct Node{ …
#define NULL 0 #include"stdio.h" #include"malloc.h" #include"string.h" typedef struct LNode {int code; …
#include #include typedef struct LNode{//构建结构体 int password;//该人拥有的密码 int num;//该人的编号 struct LNode *next; }LNode,*LinkLis…
#include #include typedef struct LNode { int data; struct LNode *next; }LNode,*LinkList; void CreateList(LinkList …
#include #include #include #define N 20 struct subject { int num; char sname[20]; int score; }; typedef struct nod…
/* algo2-10.c 两个仅设表尾指针的循环链表的合并(教科书图2.13) */ #include"c1.h" typedef int ElemType; #include"c2-2.h" #include"bo2-4.c" vo…
/* algo2-13.c 采用链表结构实现算法2.2的程序,仅有4句与algo2-2.c不同 */ #include"c1.h" typedef int ElemType; #include"c2-2.h" /* 此句与algo2-2.c不同 *…
/* algo2-11.c 实现算法2.20、2.21的程序 */ #include"c1.h" typedef int ElemType; #include"c2-5.h" #include"bo2-6.c" Status ListI…