parent
dbfe79cb6d
commit
f2fa4ab7e4
@ -1 +1,27 @@
|
|||||||
#include "Jsae.h"
|
#include "Jsae.h"
|
||||||
|
|
||||||
|
int chargement(VilleIUT *tiut[],int *tMax)
|
||||||
|
{
|
||||||
|
FILE *flot;
|
||||||
|
VilleIUT v;
|
||||||
|
MaillonDept m;
|
||||||
|
flot = fopen("")
|
||||||
|
}
|
||||||
|
|
||||||
|
void globale(void)
|
||||||
|
{
|
||||||
|
int tLog, tMax = 10;
|
||||||
|
VilleIUT **tiut;
|
||||||
|
tiut = (VilleIUT **)malloc(sizeof(VilleIUT *) * 10);
|
||||||
|
if(tiut == NULL)
|
||||||
|
{
|
||||||
|
printf("Problème d'allocation mémoire du tableau tiut\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
tLog = chargement(tiut,&tMax);
|
||||||
|
if(tLog == -1)
|
||||||
|
{
|
||||||
|
printf("Le programme ne peut pas fonctionner\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue