Search:

Type: Posts; User: apolochaves

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    3,122

    thanks for the hint.

    thanks for the hint.
  2. Replies
    6
    Views
    3,122

    I believe this version works as expected....

    I believe this version works as expected. Included the function repeatroutine to iterate many times as wished.

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>
    ...
  3. Replies
    6
    Views
    3,122

    "The first evident error is that, in function ...

    "The first evident error is that, in function
    count_neighbours() you use the variable count that is not reset to zero.
    It's better to define it in the function"

    OK! Corrected!
  4. Replies
    6
    Views
    3,122

    A Simple Life Game Code - Near the end ?

    With a lot of help of people of this forum, Codecall forum, and also Daniweb forum, i made this code. What it is purpose ? It's an adaptation of life, using only basic concepts of C (it's for a...
  5. Replies
    5
    Views
    2,130

    Yeah, Salem, laserlight and adak, it's a life...

    Yeah, Salem, laserlight and adak, it's a life code. My teacher asked to do it, but without use the classic Conway's code. What is done by now: generate the 40x40 integer matrix with random numbers,...
  6. Replies
    5
    Views
    2,130

    3 of 8 options

    In my code, I have a cell in a matrix with 8 neighbours (horizontal, vertical and diagonal). I need to implement a condition such as

    CONDITION 2 = When three of any of the 8 neighbors (V1, V2,...
Results 1 to 6 of 6