fonctions d'info part4

master
parent 6a40bc00ad
commit 6dabb3a263

BIN
SAE2

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -149,7 +149,7 @@ Tache* defiler(ListeAttente **file)
*file = premierMaillon->nxt;
free(premierMaillon);
return tache;
return (tache);
}
/*---------------calculs----------------*/
@ -209,6 +209,17 @@ Liste lstSucc(char travaux[], Precedence prec[], int tlog)
return succ;
}
// Fonction pour trouver une tâche par son nom
Tache* trouverTache(Tache **tabTache, int nbTaches, char *nom)
{
int i;
for (int i = 0; i < nbTaches; i++)
if (strcmp(tabTache[i]->tache, nom) == 0)
return tabTache[i];
return (NULL);
}
/*---------------affichages--------------*/
// Affiche les details d'un devis

Loading…
Cancel
Save