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.

43 lines
797 B

#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <stdlib.h>
//######### Définition des types #############
typedef struct maillonDept
{
char dept[31];
int nbP;
char respAd[31];
struct mailllonDept *suiv;
}MaillonDept,*ListeDept;
typedef struct
{
char nom[31];
ListeDept lDept;
}VilleIUT;
//########## fonction commune ###############
int login(void);
void globale(void);
void clearpage(void);
//########## fonction affichage ##############
void afficherPlace(MaillonDept m);
//########## fonction admin #################
int insererDept(VilleIUT v, MaillonDept m);
//######### fonction recherche ##############
MaillonDept* rechercheDept(ListeDept lDept, int *trouve, char nom[ ] );
int rechercheIUT(VilleIUT *tiut[], int tLog, char ville[], int *trouve);