8000 数据结构中基础文件的添加 · home-coder/data-abstraction-001@05b8d3a · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 05b8d3a

Browse files
author
oneface
committed
数据结构中基础文件的添加
1 parent f4e0b84 commit 05b8d3a

File tree

5 files changed

+36
-0
lines changed

5 files changed

+36
-0
lines changed

002-drlink.c

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#include <stdio.h>
2+
3+
typedef struct _drlink_data {
4+
char data;
5+
struct _drlink_data *prev;
6+
struct _drlink_data *next;
7+
}drlink_data;
8+
9+
static void drlink_show(drlink_data *drldata)
10+
{
11+
drlink_data *drlp = drldata;
12+
if (!drlp) {
13+
printf("drlink is not exsit\n");
14+
return ;
15+
}
16+
17+
for (; ) {
18+
19+
}
20+
21+
}
22+
23+
int main()
24+
{
25+
drlink_data *drldata;
26+
drlink_show(drldata);
27+
#if 0
28+
drlink_init(&drldata);
29+
drlink_insert(drldata, 0, 'a');
30+
drlink_delete();
31+
drlink_amend();
32+
drlink_select();
33+
#endif
34+
35+
return 0;
36+
}

003-stack.c

Whitespace-only changes.

004-queue.c

Whitespace-only changes.

004-string.c

Whitespace-only changes.

006-tree.c

Whitespace-only changes.

0 commit comments

Comments
 (0)
0