2015年8月3日
摘要: //_DataStructure_C_Impl:链栈#include#includetypedef char DataType;typedef struct node{ DataType data; struct node *next;}LStackNode,*LinkStack;//将链栈初始... 阅读全文
posted @ 2015-08-03 23:47 _noname 阅读(123) 评论(0) 推荐(0)
摘要: // _DataStructure_C_Impl:共享栈#include#include#define StackSize 100typedef char DataType;//两个共享栈的数据结构类型定义typedef struct { DataType stack[StackSize]; ... 阅读全文
posted @ 2015-08-03 23:46 _noname 阅读(101) 评论(0) 推荐(0)
摘要: // _DataStructure_C_Impl:顺序栈#include#include#define StackSize 100typedef char DataType;typedef struct{ DataType stack[StackSize]; int top;}SeqStack;... 阅读全文
posted @ 2015-08-03 23:45 _noname 阅读(114) 评论(0) 推荐(0)