Comment faire pour faire un affichage correct d'un arbre binaire
comme ca :
ex:...........1
............../...\
...........0.......3
................../...\
.................2...4
G essayé en recursif mais j'm'y suis cassé la tête.
Merci a celui / ou celle qui pourra m'aider !
la structure adopté est :
typedef struct Arbre
{
int val;
struct Arbre*fils_gch;
struct Arbre *fils_dt;
}Arbre;
Partager