This commit is contained in:
Lukian LEIZOUR 2023-11-29 19:51:46 +01:00
parent 63e83a9601
commit bd738652a5
13 changed files with 1115 additions and 39 deletions

4
conf.h
View file

@ -47,13 +47,13 @@ void addConf(ptConf confChain, int id, char title[], char speaker[], int day, in
void removeConf(ptConf confChain, int id);
int findListenerId(ptListener listenerChain);
ptListener newListenerChain();
void addListener(ptListener listenerChain, int id, char name[], int age, int level);
int addListener(ptListener listenerChain, int id, char name[], int age, int level);
void removeListener(ptListener listenerChain, int id);
void addConfToConfList(ptConfList confList, ptConf conf, int grade);
void printConfList(ptConfList confList);
void addListenerToListenerList(ptListenerList listenerList, ptListener listener, int grade);
void printListenerList(ptListenerList listenerList);
void participateToConf(ptConf confChain, ptListener listenerChain, int confId, int listenerId, int grade);
int participateToConf(ptConf confChain, ptListener listenerChain, int confId, int listenerId, int grade);
int confGradeAvg(ptConf conf);
int confParticipations(ptConf conf);