forked from alexandre-szymkiw/gestionEtudiants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Etudiant.h
33 lines (27 loc) · 831 Bytes
/
Etudiant.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**Auteurs : Prenom Nom **/
/** Alexandre Szymkiw **/
/** Simon Fessy **/
#ifndef ETUDIANT_H_INCLUDED
#define ETUDIANT_H_INCLUDED
/**Structure de Etudiant**/
typedef struct Etudiant Etudiant;
struct Etudiant
{
char *nom;
char *prenom;
Etudiant *suivant;
};
/**Strucuture de la pile d'étudiants**/
typedef struct PileEtudiants PileEtudiants;
struct PileEtudiants
{
Etudiant *premier;
int taille;
};
/**Prototypes**/
PileEtudiants *initialiserEtudiant();
void ajouterEtudiant(PileEtudiants *p, char *chaineNom, char *chainePrenom);
void afficherEtudiant(PileEtudiants *p);
void rechercherEtudiant(PileEtudiants *p, char etudiantTrouver);
void supprimerEtudiant(PileEtudiants *p);
#endif // ETUDIANT_H_INCLUDED