Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81350 / parser / colapser / stack.h
blob: 83c27410ef8343b640b733924b78b38b80b373f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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*);