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.

22 lines
790 B

#include "../header/adherent.h"
int main(void){
color
int tabCarte[17] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
int tabEtat[17] = {1, 1, 1, 1, 1, 1, -2, 1, 1, 1, 1, 1, 1, 1, 1};
int tabPoint[17] = {0};
int taillePhysique = 17;
int tailleLog = 15;
int trouve = 0;
//int err = AfficheInfosAdherent(15, tabCarte, tabEtat, tabPoint, tailleLog);
//SupprimerAdherent(&tailleLog, tabCarte, tabEtat, tabPoint);
//AfficheAdherents(tabCarte, tabEtat, tabPoint, tailleLog);
//RechargeCarte(30, tabCarte, tabEtat, tabPoint, tailleLog);
//int indice = TrouverAdherent(tabCarte, tailleLog, 5, &trouve);
//printf("Indice: %d\nTrouve = %d", indice, trouve);
CreerAdherent(tabCarte, tabEtat, tabPoint, &tailleLog, taillePhysique);
}