consolidate all repos to one for archive
This commit is contained in:
15
semester_2/programiranje_2/primeri/Example01b/Stack01b.h
Normal file
15
semester_2/programiranje_2/primeri/Example01b/Stack01b.h
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
#ifndef EXAMPLE01B_STACK01B_H
|
||||
#define EXAMPLE01B_STACK01B_H
|
||||
|
||||
#define SIZE 50
|
||||
#define EMPTY (-1)
|
||||
|
||||
static int arr[SIZE];
|
||||
static int top = EMPTY;
|
||||
|
||||
void push(int n);
|
||||
int pop();
|
||||
int isEmpty();
|
||||
|
||||
#endif //EXAMPLE01B_STACK01B_H
|
||||
Reference in New Issue
Block a user