voila le code que j'ai tapé dans mon prog, j'ai pas mis la source entiere je vous mets kand meme l'arbre à noter que
Liste_note_TP et Liste_note_TD sont des tableaux de float pourriez vous m'aidez c urgent.
A l'affichage j'ai 0.0
typedef struct Arbre
{
int Noeud;
char nom[MAX];
char prenom[MAX];
float liste_note_TP[MAX];
float liste_note_TD[MAX];
char tel[MAX];
struct Arbre *SAG;
struct Arbre *SAD;
} Arbre;
memcpy(Racine->liste_note_TP, Liste_note_TP, sizeof(float)*MAX);
memcpy(Racine->liste_note_TD, Liste_note_TD, sizeof(float)*MAX);
lorsque il vient le moment d'afficher:
printf("\n\tListe des notes de tp: %.1f",Racine->liste_note_TP);
printf("\n\tListe des notes de td: %.1f",Racine->liste_note_TD);