21 lines
259 B
C
21 lines
259 B
C
/* Implémentation d'une pile */
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
struct maillon {
|
|
int val;
|
|
struct maillon *adr;
|
|
};
|
|
|
|
typedef struct maillon *Pile;
|
|
|
|
void CreerPile(Pile *p) {
|
|
*p = 0;
|
|
}
|
|
|
|
int PileVide(Pile p) {
|
|
return 1;
|
|
}
|
|
|
|
int main() {
|
|
}
|