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.

19 lines
612 B

#include "SAE.h"
void testOuverture()
{
int tNoCarte[500], tage[500], tPointsCarte[500], tCarteActive[500];
int tDate[500], tNbActivitesJour[500];
int tmax = 500, pas, i;
pas = Ouverture(tNoCarte, tage, tPointsCarte, tCarteActive, tNbActivitesJour, tDate, &tmax);
printf("Pas: %d", &pas);
printf("Ncarte nom prenom age pointsCarte carteActive nbActivitesJour\n");
for(i=0; i < pas; i++)
printf("\t%d\t%d\t%d\t%d\t%d\t%d\n", tNoCarte[i], tage[i], tPointsCarte[i], tCarteActive[i], tNbActivitesJour[i], tDate[i], &tmax);
}
int main(void)
{
testOuverture();
return 0;
}