wow le tp là
This commit is contained in:
20
exo1/repertoire.h
Normal file
20
exo1/repertoire.h
Normal 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 */
|
Reference in New Issue
Block a user