This commit is contained in:
Emmanuel Srivastava
2024-12-16 14:34:53 +01:00
parent 41b3074d58
commit e3f82e9512
6 changed files with 121 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
#include <stdio.h>
#include <stdlib.h>
typedef struct {
char tab[50];
int indice_debut;
int indice_fin;
int taille;
} car_file;
char dequeue(car_file* f){
f->indice_debut=(f->indice_debut+1)%50;
f-taille--;
return f->tab[(f->indice_debut+49)%50];
}
int main(void){
return 0;
}