- 博客(2)
- 收藏
- 关注
转载 C语言静态链表的实现
#define MAXSIZE 100 struct Node { int data; int cur; }List[MAXSIZE]; void CreateList() { int i; for(i=0;i<MAXSIZE-1;i++)//初始化 { List[i].cur = i+1; } List[MAXSIZE].cur = 0; } void Set
2017-09-14 12:25:02 298
转载 C语言实现顺序链表
刚上完数据结构课,链表这一块的知识居然忘记了,也上博客看了看别人写的代码,我则是根据他们的代码写了一些代码。话不多说直接上代码。#include #include #define EmleType int #define true 1 #define false 0 //顺序链表的创建 struct Node { EmleType data; struct Node * nex
2017-09-07 20:56:57 2819
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人