From 5605029f0dd732cf6f8ca7fcc153b7b02ee818dc Mon Sep 17 00:00:00 2001 From: Orestis <orestis.malaspinas@pm.me> Date: Wed, 24 Nov 2021 09:49:54 +0100 Subject: [PATCH] Added stack data structure to allow students to do actual work. --- stack.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 stack.h diff --git a/stack.h b/stack.h new file mode 100644 index 0000000..9796be5 --- /dev/null +++ b/stack.h @@ -0,0 +1,10 @@ +#ifndef _STACK_H_ +#define _STACK_H_ + +typedef struct _stack { + int *data; + int capacity; + int top; +} stack; + +#endif -- GitLab