BUT2/DEV/DEV1.1_suite/TP_Piles/Parenthèse/Pile_Tableau.h~

18 lines
308 B
C
Raw Permalink Normal View History

2023-10-23 13:23:36 +02:00
#ifndef PILE_CHAINEES_H
#define PILE_CHAINEES_H
typedef struct pile{
char* adresse;
int taille;
int capacite;
} pile;
void creerPile(pile** p_pile);
int empty(pile* p_pile);
void push(pile** p_pile, char newValeur);
char pop(pile** p_pile);
char top(pile* p_pile);
void clear(pile** p_pile);
#endif