yoshi@erdos:~/Main/www/2002i/CompII/exx/g2$ ll total 16 lrwxrwxrwx 1 yoshi yoshi 10 Jun 13 19:45 GRAPH.c -> prog17.6.c -rw-r--r-- 1 yoshi yoshi 483 Jun 13 19:40 GRAPH.h lrwxrwxrwx 1 yoshi yoshi 11 Jun 13 19:51 Makefile -> ../Makefile lrwxrwxrwx 1 yoshi yoshi 16 Jun 16 19:05 driver.c -> ../g1/prog17.2.c -rw-r--r-- 1 yoshi yoshi 436 Jun 13 19:55 prog17.2.c -rw-r--r-- 1 yoshi yoshi 2046 Jun 16 19:05 prog17.6.c -rw-r--r-- 1 yoshi yoshi 605 Jun 13 19:45 prog18.4.c yoshi@erdos:~/Main/www/2002i/CompII/exx/g2$ make GRAPH.o driver.o gcc -g -I. -Wall -pedantic -c GRAPH.c gcc -g -I. -Wall -pedantic -c driver.c yoshi@erdos:~/Main/www/2002i/CompII/exx/g2$ gcc GRAPH.o driver.o yoshi@erdos:~/Main/www/2002i/CompII/exx/g2$ a.out 10 20 10 vertices, 20 edges 0: 2 1: 1 1 4 8 6 9 2: 7 6 9 0 5 3: 5 7 8 4: 9 1 6 5: 6 8 3 2 6: 5 2 1 7 4 7: 2 6 3 7 7 8: 5 1 3 9: 4 2 9 9 1 yoshi@erdos:~/Main/www/2002i/CompII/exx/g2$ a.out 100 200 | head 100 vertices, 200 edges 0: 41 98 43 92 1: 24 2: 6 3: 74 53 4: 44 62 5: 5 5 99 15 52 6: 20 45 2 94 7: 15 63 88 87 52 95 8: 53 52 yoshi@erdos:~/Main/www/2002i/CompII/exx/g2$ a.out 1000 2000 | head 1000 vertices, 2000 edges 0: 670 326 437 154 1: 447 5 2: 681 97 687 736 900 3: 716 139 605 64 214 984 434 4: 835 508 923 5: 660 541 649 487 1 410 6: 607 43 380 777 645 7: 471 597 8: 853 996 yoshi@erdos:~/Main/www/2002i/CompII/exx/g2$ make clean /bin/rm -f *~ \#~ .\#* *.o core a.out yoshi@erdos:~/Main/www/2002i/CompII/exx/g2$