A l'arrache sans aucune vérfi :
unsigned int toto;
double *a[2];
FILE *f;
f = fopen("truc", "r" );
fscanf(f, "%u", &toto);
a = malloc(toto*2*sizeof(double));
while(toto--)fscanf(f, "%lf %lf", &a[toto][0], &a[toto][1]);
Message édité par minusplus le 19-11-2003 à 17:17:05