life.c
changeset 48 b94d657a9acb
parent 29 7abf6146898e
child 77 49e0babccb23
equal deleted inserted replaced
47:63adb261de90 48:b94d657a9acb
   105 
   105 
   106 int main (int argc, char **argv)
   106 int main (int argc, char **argv)
   107 {
   107 {
   108     char *arena[MAX];
   108     char *arena[MAX];
   109 
   109 
   110     if (argc > 2)
   110     if (argc > 1)
   111         printf ("Usage: %s\n", argv[0]);
   111         printf ("Usage: %s\n", argv[0]);
   112 
   112 
   113     if (init_life (arena) == 0)
   113     if (init_life (arena) == 0)
   114         show_life (arena);
   114         show_life (arena);
   115     free_life (arena);
   115     free_life (arena);