2016年2月29日

摘要: 【栈是后进先出的】 先来定义栈的数据结构: 接下来定义栈的一些操作方法: ①、栈的初始化: #include <stdio.h> struct Link {//栈里面的数据结构由链表来表示 int data; struct Link* next; }; struct Stack { struct L 阅读全文
posted @ 2016-02-29 22:07 cexo 阅读(444) 评论(0) 推荐(0) 编辑

导航