MODIF pour pouvoir verifier les liens 5

master
Matheo THIERRY 2 years ago
parent a633f816e7
commit d303366266

@ -382,10 +382,10 @@ int enregistrementetudiants(char nomFich[], listetuinfo *tetu[], int nb){
//affiche que les cartes d'une personne
void affichagecarte(Listchoixdept c){
if(c==NULL){printf("\n");return;}
printf("%s - %s\n \tdécision : %d\n \tvalidation : %d", c->Ville, c->dep, c->decision, c->validation);
printf(" - %s - %s\n \tdécision : %d\n \tvalidation : %d", c->Ville, c->dep, c->decision, c->validation);
if(c->suivant==NULL){affichagecarte(c->suivant);}
else{
printf("\n - ");
printf("\n");
affichagecarte(c->suivant);
}
}
@ -724,7 +724,7 @@ void affichagedepresultat(Maillonchoix* carte, int *suite){
}
// validation
/*
void validation(char choixville[], char choixdep[], Maillonchoix* carte, int *ok, Maillonatt lplace, int nbplace, listetuinfo etu){
if(carte==NULL){return;}
if(strcmp(carte->Ville,choixville)==0){
@ -740,7 +740,6 @@ void validation(char choixville[], char choixdep[], Maillonchoix* carte, int *ok
if(carte->decision==1);
}
}
*/
// MENU PARTIE 1
@ -798,7 +797,6 @@ void menuP1Utilisateur(listetuinfo etu, VilleIUT *tabVille[], int nb) {
case 8:
affichageetu(etu);
break;
/*
case 9:
affichagedepresultat(etu->lcarte, &suite);
if(suite==1){
@ -809,17 +807,13 @@ void menuP1Utilisateur(listetuinfo etu, VilleIUT *tabVille[], int nb) {
scanf("%d", &reponse);
if(reponse==1){menuValidation();}
}
break;*/
break;
case 15:
return;
}
}
}
void questiondepartement(){
}
void menuP1Administrateur(VilleIUT *tabVille[], int nb, listetuinfo *tetu[], int nbEtu, DepartementVille *departementVille) {
int choixP1A = 0;
while (choixP1A >= 1 || choixP1A <= 4) {

Loading…
Cancel
Save