摘要: #include<iostream>#include<stdio.h>#include<malloc.h>#include<string.h>#include<stdlib.h>#define maxsize 100using namespace std;typedef struct node{ c 阅读全文
posted @ 2017-03-22 16:26 mykonons 阅读(1071) 评论(0) 推荐(0) 编辑
摘要: //将12345依次入栈,取栈顶元素,将6,7入栈,求栈中元素个数,将7出栈,将6出栈,将5出栈,最后全部出栈依次输出 #include<iostream>#include<stdio.h>#include<malloc.h>#include<stdlib.h>#define maxsize 100 阅读全文
posted @ 2017-03-22 15:32 mykonons 阅读(12800) 评论(0) 推荐(0) 编辑
摘要: //将123456依次入栈,将45出栈,再将67进栈最后全部出栈依次输出 #include<iostream>#include<stdio.h>#include<malloc.h>#include<stdlib.h>#define maxsize 100using namespace std;typ 阅读全文
posted @ 2017-03-22 14:27 mykonons 阅读(341) 评论(0) 推荐(0) 编辑
摘要: //将123456依次入栈,将45出栈,再将67进栈最后全部出栈依次输出 #include<iostream>#include<stdio.h>#include<malloc.h>#include<stdlib.h>#define maxsize 100using namespace std;typ 阅读全文
posted @ 2017-03-22 13:22 mykonons 阅读(4125) 评论(0) 推荐(0) 编辑