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.
49 lines
459 B
49 lines
459 B
#include<stdio.h>
|
|
#include<stdlib.h>
|
|
#include<string.h>
|
|
#include"part1.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void AfficheDpmt ( MaillonDept *dpt ){
|
|
if ( dpt == NULL) return;
|
|
printf("%s %d %s ", dpt.departement, dpt.nbP, dpt.respAd);
|
|
AfficheDpmt(dpt->suiv);}
|
|
|
|
|
|
|
|
void afficheIUT (VilleIUT *iut){
|
|
printf ("%s ", iut->ville);
|
|
AfficheDpmt(iut->ldept);
|
|
}
|
|
|
|
|
|
|
|
void Affichetableau(VilleIUT * TabIUT, int n ){
|
|
int i;
|
|
|
|
for ( i = 0 ; i < n ; i++ )
|
|
afficheIUT(TabIUT[i]);
|
|
} |