From 1b3c3e27b9249767ae94c39b455104e155e51f4b Mon Sep 17 00:00:00 2001 From: Shrayzz Date: Wed, 2 Nov 2022 12:53:47 +0100 Subject: [PATCH] =?UTF-8?q?Impl=C3=A9mentation=20du=20menu=20et=20quelques?= =?UTF-8?q?=20autres=20l=C3=A9gr=C3=A8re=20modifications?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- saeN.c | 44 ++++++++++++++++++++++++++++---------------- saeN.h | 25 ++++++++++++++++++++++--- saetestN.c | 2 +- 3 files changed, 51 insertions(+), 20 deletions(-) diff --git a/saeN.c b/saeN.c index aa9496f..7aa76b7 100644 --- a/saeN.c +++ b/saeN.c @@ -3,7 +3,7 @@ #include "saeN.h" #define TAILLE 50 -int creeadherent(int *tNC,char *tN,char *tPR,int *tA,int *tCA,int *tPO, int Tmax) +int chargementadherent(int *tNC,char *tN,char *tPR,int *tA,int *tCA,int *tPO, int Tmax) //j'ai renommé la fonction car c'est le plus le chargement que la création { int NC,N,PR,A,CA,PO, i=0; FILE *fe; @@ -52,7 +52,7 @@ void affichageA(int *tNC,char *tN,char *tPR,int *tA,int *tCA,int *tPO, int n) printf("----------------------------------------------------------------------------\n"); } -int recherche(int*tNC,int n, int val, int* trouve) +/*int recherche(int*tNC,int n, int val, int* trouve) { int i; for(i=0;i