Tfe

Ongi etorri tfe-ren webgunera...

Old stuff/ecole_etude_fac_de_pau/licence_2/struct/tp6/appliarbre.c

(Deskargatu)
#include <stdio.h>
#include <stdlib.h>

#include "arbrebin.h"






int main()
{
  NOEUD n;
  arbre a=NULL;

  donneesElem d=5;
  n.etiquette=&d;
  int tab[10]={1,2,30,4,50,6,7,8,9,10};

  int i;
  for (i=0;i<10;i++)
    {
      a=insertion(a,tab[i]);
    }
    affichage(a);

}