摘要:
栈的应用2:#include<iostream>#include<malloc.h>#include<conio.h>#include<stdio.h>using namespace std;#define STACK_INT_SIZE 100#define STACEINCREMENT 10typedef int SElemType;typedef struct SqStack{ SElemType *base; SElemType *top; int stacksize;}SqStack;int InitStack(SqStack & 阅读全文
摘要:
栈的应用1: 1 #include <iostream> 2 #include <malloc.h> 3 #include <conio.h> 4 #include <stdio.h> 5 6 using namespace std; 7 8 #define STACK_INT_SIZE 100 9 #define STACKINCREMENT 1010 typedef int SElemType;11 typedef struct SqStack12 {13 SElemType *base;14 SElemType *top;15 int st 阅读全文