From 8d8794f1574bbb29cdae4ccf7d53d83198b99a3c Mon Sep 17 00:00:00 2001 From: "ines.maya" <ines.maya@etu.hesge.ch> Date: Mon, 29 Nov 2021 14:20:09 +0100 Subject: [PATCH] eneleve tous ceux qui est pas fonction pop --- stack.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/stack.c b/stack.c index 653cb8b..82311dd 100644 --- a/stack.c +++ b/stack.c @@ -1,16 +1,3 @@ -#include <stdio.h> -#include <stdlib.h> -#include <assert.h> -#include <stdbool.h> - -#define DEFAULT_CAPACITY 4 - -typedef struct _stack { - int *data; - int capacity; - int top; -} stack; - // depile void stack_pop(stack *s, int *value){ assert(s->top>=0 && "Stcak is empty\n"); -- GitLab