#include #include #include #include #include "pile.h" void Init_Pile(struct Pile *new) { //struct Pile new; new->Pil=NULL; new->nbElements=0; //return new; } void Empiler(struct Pile * P, int i) { struct Cell * cel= malloc(sizeof(struct Cell)); cel->Ent = i; cel->Suiv = P->Pil; P->Pil = cel; P->nbElements +=1; } struct Cell * Depiler(struct Pile * P) { struct Cell * res; if (P->nbElements != 0) { res = P->Pil; P->Pil= P->Pil->Suiv; } return res; } void Affichage(struct Cell * C) { if(C == NULL) { //printf("Rien a afficher"); } else { printf("%d \n", C->Ent); Affichage(C->Suiv); } } int numberOfDelimiters(char* string) { int count = 0; for (int i=0;itokens = programme; retour->taille = i; return retour; }