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.
26 lines
589 B
26 lines
589 B
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <stdbool.h>
|
|
|
|
typedef struct maillonDept
|
|
{
|
|
char nomDept[30];
|
|
char resp[30];
|
|
int nbP;
|
|
struct maillonDept *suiv;
|
|
}MaillonDept, *ListeDept;
|
|
|
|
// Utilise pour le tableau de pointeurs sur cette structure (pour Guillaume)
|
|
typedef struct
|
|
{
|
|
char nom[30];
|
|
ListeDept ldept;
|
|
}VilleIut;
|
|
|
|
// Liste.c
|
|
ListeDept ajouterEnTete(ListeDept ldept, char nomDept[], char resp[], int nbP);
|
|
ListeDept supprimerEnTete(ListeDept ldept);
|
|
ListeDept listenouv();
|
|
bool vide(ListeDept ldept);
|
|
void afficherListe(ListeDept ldept); |