tp3_C/symbole.c
2022-12-06 20:07:39 +01:00

24 lines
339 B
C

#include <stdio.h>
#include <stdlib.h>
#include "pile.h"
#include "symbole.h"
void DROP(struct Pile *P)
{
struct Cell * tmp;
if(P->nbElements != 0)
{
tmp = P->Pil;
P->Pil = P->Pil->Suiv;
free(tmp);
}
}
void DUP(struct Pile * P)
{
struct Cell * double;
double = malloc(sizeof(struct))
}