home *** CD-ROM | disk | FTP | other *** search
/ ftp.disi.unige.it / 2015-02-11.ftp.disi.unige.it.tar / ftp.disi.unige.it / pub / .person / CataniaB / teach-act / esempi / Comp-Sep / main2.c < prev    next >
C/C++ Source or Header  |  1997-04-22  |  171b  |  17 lines

  1. #include <stdio.h>
  2. #include "tree.h"
  3.  
  4. main()
  5. {
  6.  
  7.  tree T=NULL;
  8.  insert(4,&T);
  9.  insert(2,&T);
  10.  insert(6,&T);
  11.  insert(7,&T);
  12.  insert(3,&T);
  13.  insert(10,&T);
  14.   bfsprint(T);
  15.  
  16. }
  17.