src/conway.c
void conway_reset(conway_t *conway)
{
    int i, j;

    for (i = 0; i < conway->num_rows; ++i) {
        for (j = 0; j < conway->num_cols; ++j) {
            conway->universe[i][j].alive = false;
        }
    }
}
/* Resets conway's universe setting to false each item of the array */
Resets conway's universe setting to false each item of the array
Resets conway ' s universe setting to false each item of the array
void conway_reset(conway_t *conway)
{
    int i, j;
    for (i = 0; i < conway->num_rows; ++i) {
        for (j = 0; j < conway->num_cols; ++j) {
            conway->universe[i][j].alive = false;
        }
    }
}
void conway_reset ( conway_t * conway ) { int i , j ; for ( i = 0 ; i < conway -> num_rows ; ++ i ) { for ( j = 0 ; j < conway -> num_cols ; ++ j ) { conway -> universe [ i ] [ j ] . alive = false ; } } }
Resets conway's universe setting to false each item of the array
Resets conway ' s universe setting to false each item of the array