changeset 61 | 4b4c97f179da |
parent 48 | b94d657a9acb |
child 74 | 829976007e62 |
60:47c13ca8c4d0 | 61:4b4c97f179da |
---|---|
49 int main (int argc, char **argv) |
49 int main (int argc, char **argv) |
50 { |
50 { |
51 T *t, *next; |
51 T *t, *next; |
52 |
52 |
53 if (argc != 3) { |
53 if (argc != 3) { |
54 printf ("Usage: %s elements rand_max\n", argv[0]); |
54 printf ("Usage: %s <elements> <rand_max>\n", argv[0]); |
55 return EXIT_FAILURE; |
55 return EXIT_FAILURE; |
56 } |
56 } |
57 |
57 |
58 t = make_list (atoi (argv[1]), atoi (argv[2])); |
58 t = make_list (atoi (argv[1]), atoi (argv[2])); |
59 |
59 |