25 lines
341 B
C
25 lines
341 B
C
#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;
|
|
} |