ajout tp- et cm thread

This commit is contained in:
2025-10-08 10:24:45 +02:00
parent a677d98c2c
commit 348e3b73d8
9 changed files with 315 additions and 0 deletions

12
tp/tp6/src/stack/stack.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef _STACK_INT_H
#define _STACK_INT_H
typedef struct stack_t stack_t;
stack_t * stack_create(int max_size);
int stack_destroy(stack_t *s);
int stack_push(stack_t *s, int val);
int stack_pop(stack_t *s,int *val);
#endif