You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
630 B
31 lines
630 B
#include <stdio.h>
|
|
#include "iut.h"
|
|
|
|
VilleIUT Chargement(VilleIUT V){
|
|
V=initialiser();
|
|
V=Enfiler(V,"Informatique",112,"Dupont Jean");
|
|
V=Enfiler(V,"Informatique",136,"Simon Carine");
|
|
V=Enfiler(V,"Bio-Info",56,"jiji");
|
|
V=Enfiler(V,"Biologie",120,"Djojo");
|
|
return V;
|
|
}
|
|
|
|
|
|
int main(){
|
|
VilleIUT V;
|
|
V = Chargement(V);
|
|
afficher(V);
|
|
|
|
int choix;
|
|
printf("\n\nUtilisateur - 1\tAdministrateur - 2\n\n");
|
|
scanf("%d",&choix);
|
|
if(choix==1){
|
|
printf("Menu Utilisateur");
|
|
//MenuUtilisateur();
|
|
}
|
|
if(choix==2){
|
|
printf("Menu Administrateur");
|
|
MenuAdministrateur(V);
|
|
}
|
|
}
|