equal
deleted
inserted
replaced
7 #include <stdlib.h> |
7 #include <stdlib.h> |
8 |
8 |
9 #define MAX 12 |
9 #define MAX 12 |
10 |
10 |
11 int read_file (char **); |
11 int read_file (char **); |
12 |
|
13 int init_life (char **); |
12 int init_life (char **); |
14 |
|
15 void free_life (char **); |
13 void free_life (char **); |
16 |
|
17 void show_life (char **); |
14 void show_life (char **); |
18 |
15 |
19 int read_file (char **arena) |
16 int read_file (char **arena) |
20 { |
17 { |
21 int i, j; |
18 int i, j; |
22 |
19 |
23 char org; |
20 char org; |
24 |
|
25 char file[80]; |
21 char file[80]; |
26 |
22 |
27 FILE *inp = NULL; |
23 FILE *inp = NULL; |
28 |
24 |
29 while (inp == NULL) { |
25 while (inp == NULL) { |