摘要:
//_DataStructure_C_Impl:链栈#include#includetypedef char DataType;typedef struct node{ DataType data; struct node *next;}LStackNode,*LinkStack;//将链栈初始... 阅读全文
摘要:
// _DataStructure_C_Impl:共享栈#include#include#define StackSize 100typedef char DataType;//两个共享栈的数据结构类型定义typedef struct { DataType stack[StackSize]; ... 阅读全文
摘要:
// _DataStructure_C_Impl:顺序栈#include#include#define StackSize 100typedef char DataType;typedef struct{ DataType stack[StackSize]; int top;}SeqStack;... 阅读全文