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