From 6b267149efcf6e6e0172b58e99c00d4b0e81ca43 Mon Sep 17 00:00:00 2001 From: PAILLE Kyriann <kyriann.paille9@etu.univ-lorraine.fr> Date: Sun, 8 Jan 2023 21:25:13 +0000 Subject: [PATCH] Upload New File --- stack.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 stack.c diff --git a/stack.c b/stack.c new file mode 100644 index 0000000..4e28520 --- /dev/null +++ b/stack.c @@ -0,0 +1,32 @@ +#include "stack.h" +#include <string.h> /* strdup */ +#include <stdio.h> /* printf */ +#include <stdlib.h> /* malloc, free */ +#include <stdbool.h> + +// const empty_stack = false; + +// bool StackIsEmpty(stack *s) +// { +// return s == NULL; +// } + +// stack StackPush(stack s) { +// stack *new_s = malloc(sizeof(stack)); +// new_s-> +// return +// } + + +// stack stackHead(stack *s) +// { stack neww_s; +// neww_s = LocationPrint(loc); +// LocationDelete(s); +// return new_s; +// } + +// stack stackPop(stack *s) +// { +// stack old_s = stackHead(s); +// return *s; +// } \ No newline at end of file -- GitLab