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.
35 lines
589 B
35 lines
589 B
#include <stdio.h>
|
|
#include "iut.h"
|
|
|
|
VilleIUT Chargement(VilleIUT V){
|
|
V=initialiser();
|
|
|
|
return V;
|
|
}
|
|
|
|
|
|
int main(){
|
|
VilleIUT V;
|
|
int n;
|
|
VilleIUT *tiut[200];
|
|
V = Chargement(V);
|
|
afficher(V);
|
|
|
|
|
|
n=chargeResultat(tiut ,200);
|
|
n=(n+1)/4;
|
|
printf("%d",n);
|
|
affichage(tiut,n);
|
|
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);
|
|
}
|
|
}
|