C程序设计语言
文章平均质量分 68
u012091015
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C语言二维数组动态内存分配
0、准备工作 #include typedef void(*Visit)(int);void PrintElem(int elem){ printf("%d\n", elem);}1、1D情况 int* CreateArray(const int num);void TraverseArray(int *array, const int原创 2013-10-15 22:14:18 · 1045 阅读 · 0 评论 -
C语言链表基本操作
链表时一个空表,或是一个指向节点的链接,且这个节点包含一个元素和一个指向链表的链接0、准备工作#include typedef int Item;typedef struct Node Node;typedef struct Node *List;struct Node{ Item data; List next;};Node*原创 2013-10-16 21:59:04 · 709 阅读 · 0 评论 -
C语言二叉搜索树基本操作
0、准备工作 #include typedef int Item;int Less(Item left, Item right){ return (left < right);}int Greater(Item left, Item right){ return Less(right, left);}int Equal(Item le原创 2013-10-17 23:55:21 · 791 阅读 · 0 评论 -
C语言哈希表基本操作
0、准备工作typedef struct Node Node;typedef struct Node *List;struct Node{ char* key; List next;};#define BUCKETSIZE 1024;List bucket[1024];1、哈希函数unsigned int Hash(const cha原创 2013-10-18 23:02:05 · 1994 阅读 · 0 评论
分享