Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81350 / parser / colapser / stack.h
diff options
context:
space:
mode:
1 files changed, 16 insertions, 0 deletions
-rw-r--r--homework/81350/parser/colapser/stack.h16
diff --git a/homework/81350/parser/colapser/stack.h b/homework/81350/parser/colapser/stack.h
new file mode 100644
index 0000000..83c2741
--- /dev/null
+++ b/homework/81350/parser/colapser/stack.h
@@ -0,0 +1,16 @@
+#pragma once
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+
+#define MAXSIZE 1000
+extern int stack[MAXSIZE];
+extern int top;
+
+int isempty();
+int isfull();
+int peek();
+int pop();
+int push(int);
+
+char* concatenate(char*, char*);