debut TP17

This commit is contained in:
2023-11-13 15:01:55 +01:00
parent 940fdfe265
commit fd72164c4e
15 changed files with 249 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
/* TP 19 Exercice 1 : fichier repertoire.h */
#ifndef REPERTOIRE_H
#define REPERTOIRE_H
#include "personne.h"
#define CAPACITE 100
typedef struct s_repertoire {
int taille;
personne personnes[CAPACITE];
} * repertoire;
repertoire construire_repertoire();
void afficher_repertoire(repertoire);
int ajouter_personne(repertoire, personne);
void detruire_repertoire(repertoire);
#endif /* REPERTOIRE_H */