efrei/algorithmique/piles-files/file.c

34 lines
375 B
C
Raw Normal View History

2021-09-06 16:06:52 +02:00
#include <stdio.h>
#include <stdlib.h>
struct File {
int *tête;
int *queue;
};
int main() {
return 0;
}
void InitialiserFile(struct File F) {
}
int EstFileVide(struct File F) {
if (F.tête == F.queue)
return 0;
return 1;
}
void Enfiler(int x, struct File F) {
F.queue++;
&F.queue = x;
}
void Défiler(int x, struct File F) {
}