parent
c65be45aaa
commit
7bff18d827
@ -1,4 +1,9 @@
|
|||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
void help(int page);
|
||||||
|
|
||||||
|
void SupprimerAdherent(int *nbAdherent, int tabNoCarte[], int tabEtatCarte[], int tabPointCarte[]);
|
||||||
|
|
||||||
|
void AfficheAdherents(int tabNoCarte[], int tabEtatCarte[], int tabPointCarte[], int tailleLog);
|
||||||
|
void ligne(void);
|
||||||
|
|
||||||
int SupprimerAdherent(int *nbAdherent, int tabNoCarte[], int tabEtatCarte[], int tabPointCarte[]);
|
|
||||||
|
|
||||||
|
@ -1,14 +1,17 @@
|
|||||||
#include "../header/adherent.h"
|
#include "../header/adherent.h"
|
||||||
|
|
||||||
int main(void){
|
int main(void){
|
||||||
int tabCarte[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
|
|
||||||
int tabEtat[10] = {1, 1, 1, 1, 1, 1, 1, 1, 1};
|
|
||||||
int tabPoint[10] = {0};
|
|
||||||
|
|
||||||
int taillePhysique = 10;
|
color
|
||||||
int tailleLog = 9;
|
|
||||||
|
|
||||||
int err = SupprimerAdherent(&tailleLog, tabCarte, tabEtat, tabPoint);
|
int tabCarte[15] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
|
||||||
|
int tabEtat[15] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1};
|
||||||
|
int tabPoint[15] = {0};
|
||||||
|
|
||||||
|
int taillePhysique = 15;
|
||||||
|
int tailleLog = 15;
|
||||||
|
|
||||||
|
//SupprimerAdherent(&tailleLog, tabCarte, tabEtat, tabPoint);
|
||||||
|
AfficheAdherents(tabCarte, tabEtat, tabPoint, tailleLog);
|
||||||
|
|
||||||
printf("\nCode erreur : %d\n", err);
|
|
||||||
}
|
}
|
Loading…
Reference in new issue