Compare commits

...

3 Commits

Author SHA1 Message Date
martin.bonetti 5ecfab0cb9 added lireVille, lireDept and initListe prototypes
2 years ago
martin.bonetti de17492e52 added LireVille, LireDept and initListe fonction
2 years ago
martin.bonetti e8b898255a reorganized IUT.don
2 years ago

@ -1,2 +1,5 @@
Grenoble Informatique 112 Dupont Jean
Clermont-Ferrand Informatique 136 Simon Carine
Clermont-Ferrand 2
Informatique
Biologie
136
Simon Carine

@ -0,0 +1,6 @@
typedef Liste; //a modifier
char* lireVille(FILE*);
char* lireDept(FILE*);
Liste initListe(void);

@ -0,0 +1,19 @@
#include "main.h"
#include <stdio.h>
#include <stdlib.h>
char* lireVille(FILE* fe){
char* Ville;
fscanf("%s\t", Ville);
return Ville;
}
char* lireDept(FILE* fe){
char* Dept;
fscanf("%s\n", Dept);
return Dept;
}
Liste initListe(void){return NULL;}
Loading…
Cancel
Save