diff options
Diffstat (limited to 'data_structures/chapter_3/stack_array.h')
| -rw-r--r-- | data_structures/chapter_3/stack_array.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/data_structures/chapter_3/stack_array.h b/data_structures/chapter_3/stack_array.h deleted file mode 100644 index 088b0cc..0000000 --- a/data_structures/chapter_3/stack_array.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef _STACK_H - -struct stack_record; -typedef struct stack_record *stack; -typedef int elem; - -int is_empty(stack s); -int is_full(stack s); -stack create_stack(int max_elements); -void dispose_stack(stack s); -void push(elem x, stack s); -elem top(stack s); -void pop(stack s); -elem top_and_pop(stack s); - -#endif |
