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.
25 lines
511 B
25 lines
511 B
#include <stdio.h>
|
|
#include "iut.h"
|
|
|
|
|
|
int main(){
|
|
VilleIUT V;
|
|
int n;
|
|
VilleIUT *tiut[200];
|
|
//afficher(V);
|
|
n=chargement(tiut ,200);
|
|
printf("Nombre de villes : %d\n",n);
|
|
affichage(tiut,n);
|
|
int choix;
|
|
printf("\n\nUtilisateur - 1\tAdministrateur - 2\n\n");
|
|
scanf("%d",&choix);
|
|
if(choix==1){
|
|
printf("\nMenu Utilisateur");
|
|
MenuUtilisateur(tiut, n);
|
|
}
|
|
if(choix==2){
|
|
printf("\nMenu Administrateur");
|
|
MenuAdministrateur(tiut,n);
|
|
}
|
|
}
|