摘要: 普通顺序存储结构#include #include #include #include const int maxSize = 100 ;using namespace std ;typedef struct{ int data[maxSize] ; int front ; //定义头... 阅读全文
posted @ 2014-11-30 22:23 emoji 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 水水的实现一下链式栈。#include #include #include #include using namespace std;typedef struct Sta{ int data ; struct Sta *next ;}Stack ;void createStack(Sta... 阅读全文
posted @ 2014-11-30 21:12 emoji 阅读(313) 评论(0) 推荐(0) 编辑