You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
813 B
21 lines
813 B
#include <stdio.h>
|
|
#include <string.h>
|
|
#include "fRox.h"
|
|
|
|
|
|
int main(void)
|
|
{ char nom[15], prenom[15], fnom[15], fprenom[15], bCard, member, categ, recharge, acti1[15], acti2[15], acti3[15];
|
|
int erreur, numAd, age, state, acti, passeoupas, ptsbought,ptsbonus, numCard, avoiravecevann, testnom, testpnom, found = 0, ptrecharge, nbacti, numacti, s1, s2, s3, m1, m2, m3, f1, f2, f3, b1, b2, b3, z1, z2, z3;
|
|
|
|
FILE *f;
|
|
f = fopen("donneeClient.don","r");
|
|
if (f==NULL){printf("Erreur ouverture fichier clients"); fclose(f); return -1;}
|
|
|
|
erreur = Fillvar(numAd, fnom, prenom, age, state, acti, passeoupas, ptsbought, ptsbonus, categ, 500)//lis le fichier et met les valeurs dans les tableaux
|
|
;
|
|
|
|
suppr1Client(numAd, fnom, prenom, age, state, acti, passeoupas, ptsbought, ptsbonus, categ, erreur, 500);
|
|
|
|
return 0;
|
|
}
|