2015年8月14日
摘要: #include#include#include#include#define MaxNumKey 6 /*关键字项数的最大值*/#define Radix 10 /*关键字基数,此时是十进制整数的基数*/#define MaxSize 1000#define N 6typedef int Ke... 阅读全文
posted @ 2015-08-14 00:58 _noname 阅读(140) 评论(0) 推荐(0) 编辑
摘要: #include#include#include"LinkList.h"//创建单链表void CreateList(LinkList L,DataType a[],int n){ int i; for(i=1;inext->next!=NULL){ //用q指针进行遍历链表 for(s=p... 阅读全文
posted @ 2015-08-14 00:57 _noname 阅读(103) 评论(0) 推荐(0) 编辑
摘要: // _DataStructure_C_Impl:Sort#include#include#define MaxSize 50typedef int KeyType;//数据元素类型定义typedef struct{ KeyType key; //关键字}DataType;//顺序表类型定义ty... 阅读全文
posted @ 2015-08-14 00:55 _noname 阅读(113) 评论(0) 推荐(0) 编辑