Upload files to "coursDEV.1.1"
This commit is contained in:
25
coursDEV.1.1/20.01-structure-rassemblant-infofile-char.txt
Normal file
25
coursDEV.1.1/20.01-structure-rassemblant-infofile-char.txt
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user