diff --git a/coursDEV.1.1/20.01-structure-rassemblant-infofile-char.txt b/coursDEV.1.1/20.01-structure-rassemblant-infofile-char.txt new file mode 100644 index 0000000..d0b1c1d --- /dev/null +++ b/coursDEV.1.1/20.01-structure-rassemblant-infofile-char.txt @@ -0,0 +1,25 @@ +#include +#include + +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; +} \ No newline at end of file