dernier affichage

master
parent 7466a3fe1d
commit f79c8e0647

BIN
SAE2

Binary file not shown.

@ -40,6 +40,7 @@ void displayListeDevis(ListeDevis l);
void afficherDevisEntreprise(Offre **tabTravaux);
void displayPrecedences(Precedence *tabP, int tlog);
void afficherTaches(Tache **tachesTriees, int p_tmax);
void afficherTachesTriees(Tache *tachesTriees[], int p_tmax);
void enfiler(ListeAttente *file, Tache *tache);
Offre *newOffre(char *travauxName);
Booleen emptyListe(ListeDevis l);

Binary file not shown.

@ -346,6 +346,15 @@ void displayPrecedences(Precedence *tabP, int tlog)
printf("\t%s\t\t : \t%s\n", tabP[i].travauxPrec, tabP[i].travauxSucc);
}
void afficherTachesTriees(Tache *tachesTriees[], int p_tmax)
{
int j;
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)

Loading…
Cancel
Save