34 lines
375 B
C
34 lines
375 B
C
|
#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) {
|
||
|
|
||
|
}
|