diff --git a/SAE2 b/SAE2 index dad0869..9eb64a7 100755 Binary files a/SAE2 and b/SAE2 differ diff --git a/obj/structures.o b/obj/structures.o index 94932a4..fd73d5c 100644 Binary files a/obj/structures.o and b/obj/structures.o differ diff --git a/srcs/structures.c b/srcs/structures.c index 4b8b5ee..215c436 100644 --- a/srcs/structures.c +++ b/srcs/structures.c @@ -114,7 +114,7 @@ void enfiler(ListeAttente *file, Tache *tache) { if ((file->fin + 1) % TMAXTRAV == file->debut) { - printf("File d'attente pleine\n"); + printf("\033[0;31mErreur: \033[0mFile d'attente pleine\n"); exit(1); } @@ -358,9 +358,4 @@ void afficherTachesTriees(Tache *tachesTriees[], int p_tmax) printf("Affichage par ordre d'exécution :\n"); for (j = 0; j < p_tmax; j++) printf("Tâche %s : Date de début au plus tôt = %d\n", tachesTriees[j]->tache, tachesTriees[j]->dateDebut); -} - - -// Partie 4 (à trier) - - +} \ No newline at end of file