forked from alexandre-szymkiw/gestionEtudiants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Notes.h
38 lines (29 loc) · 939 Bytes
/
Notes.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
34
35
36
37
38
/**Auteurs : Prenom Nom **/
/** Alexandre Szymkiw **/
/** Simon Fessy **/
#ifndef NOTES_H_INCLUDED
#define NOTES_H_INCLUDED
#include "Etudiant.h"
#include "Matieres.h"
#define MAX 200
/**Structure Notes**/
typedef struct Notes Notes;
struct Notes
{
float **n;
Notes *suivant;
};
/**Structure PileNotes**/
typedef struct FileNotes FileNotes;
struct FileNotes
{
Notes *premier;
};
/**Prototypes**/
FileNotes *initialiserNotes();
void ajouterNotes(FileNotes *f,PileMatieres *m,PileEtudiants *e,float *tab,int r);
void supprimerNotes(FileNotes *f,PileEtudiants *e,PileMatieres *m);
void afficherMoyenneMatieres(FileNotes *f,PileMatieres *m);
void afficherNotes(FileNotes *f,PileEtudiants *e,PileMatieres *m,int r);
void afficherMoyenneParEleves(FileNotes *f,PileEtudiants *e,PileMatieres *m);
#endif // NOTES_H_INCLUDED