2015年8月5日
摘要: //_DataStructure_C_Impl:#include#include#includetypedef char DataType;typedef struct snode{ //链式堆栈结点类型定义 DataType data; struct snode *next;}LSNode;t... 阅读全文
posted @ 2015-08-05 02:53 _noname 阅读(159) 评论(0) 推荐(0) 编辑
摘要: //_DataStructure_C_Impl:顺序循环队列#include#include#define QueueSize 10 //定义顺序循环队列的最大容量typedef char DataType;typedef struct Squeue{ //顺序循环队列的类型定义 DataT... 阅读全文
posted @ 2015-08-05 02:52 _noname 阅读(93) 评论(0) 推荐(0) 编辑
摘要: //_DataStructure_C_Impl:顺序队列#include#include#define QueueSize 50typedef char DataType;typedef struct Squeue{ //顺序队列类型定义 DataType queue[QueueSize]; i... 阅读全文
posted @ 2015-08-05 02:51 _noname 阅读(98) 评论(0) 推荐(0) 编辑
摘要: //_DataStructure_C_Impl:#include#include#define StackSize 100typedef char DataType;typedef struct{ DataType stack[StackSize]; int top;}SeqStack;//将栈... 阅读全文
posted @ 2015-08-05 02:49 _noname 阅读(108) 评论(0) 推荐(0) 编辑