#include #define NL 20 #define NC 76 char space[NL][NC]; char space1[NL][NC]; display (char space[NL][NC]) { int l, c; gotoxy (1, 1); printf ("\n"); for (l=0; l 0) printf ("#"); else printf ("."); } printf ("\n"); } } int n_voisins (char space[NL][NC], int l, int c) { int n, i, j; n = 0; for (i=-1; i<=1; i++) for (j=-1; j<=1; j++) n += space[l+i][c+j]; return n; } step (char space[NL][NC]) { int l, c, n; /* char space1[NL][NC]; */ for (l=1; l