/* ----------------------------------------------------------------- /* Program: link_test.c /* ----------------------------------------------------------------- /* Skeleton to demonstrate slidas_random.c as a function /* ----------------------------------------------------------------- /* /* Compile link_test.c in the same directory as slidas_random.c /* with the command: /* /* $ cc -o link_test link_test.c slidas_random.c /* /* To execute, give the number of random words required as the /* argument. E.g. /* /* $ link_test 100 /* /* will print a list of 100 random words. /* /* ----------------------------------------------------------------- /* Author: Owen Boyle 28 Oct 1997 /* ----------------------------------------------------------------- */ #include main(argc, argv) int argc; char *argv[]; { int i; for (i=0; i<(atoi (argv[1])); i++) printf("%x\n", slidas_random(0)); } /*******************************************************************/