wow le tp là

This commit is contained in:
Simoes Lukas
2025-09-04 15:36:55 +02:00
parent c16ef0985f
commit 2c3e150ec5
87 changed files with 1059 additions and 28 deletions

20
exo1/repertoire.h Normal file
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 */