Dereferencing pointer to incomplete type
Résolu
safa
-
armasousou Messages postés 1351 Statut Membre -
armasousou Messages postés 1351 Statut Membre -
Bonjour, j 'ai ecrit ce peetit code mais ca m' afiiche :
ereferencing pointer to incomplete type
voila mon code:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef struct donnee_arbre * arbre_binaire;
struct donne_arbre{
arbre_binaire a_gauche;
arbre_binaire a_droite;
int contenue ;
};
int est_feuille(arbre_binaire a){
if (a==NULL) return 0;
if ((a->a_gauche==NULL) && (a->a_droite == NULL)) return 1;
return 0;
};
merci pour votre aide :)
ereferencing pointer to incomplete type
voila mon code:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef struct donnee_arbre * arbre_binaire;
struct donne_arbre{
arbre_binaire a_gauche;
arbre_binaire a_droite;
int contenue ;
};
int est_feuille(arbre_binaire a){
if (a==NULL) return 0;
if ((a->a_gauche==NULL) && (a->a_droite == NULL)) return 1;
return 0;
};
merci pour votre aide :)
A voir également:
- Dereferencing pointer to incomplete type
- Qwerty to azerty - Guide
- Clear type - Guide
- Video to video - Télécharger - Conversion & Codecs
- Reboot to bootloader - Guide
- Majuscule to minuscule - Guide