Search:

Type: Posts; User: JiminyCricket

Search: Search took 0.36 seconds.

  1. Replies
    8
    Views
    945

    Re: comparing values in a boolean array

    I have managed to see a positive change within the last few moments of your time, Norm, Thank you! Although I have managed to breach a wall, thanks to you, I believe now I have quite a-ways to get...
  2. Replies
    8
    Views
    945

    Re: comparing values in a boolean array

    I'm not sure now, honestly, though I believe I would want to test all of them. This is how the algorithm reads:

    if the current villager is alive:
    * if only one neighbor is alive, the...
  3. Replies
    8
    Views
    945

    Re: Boolean array comparison/arguments

    in


    if(theArray[i] == theArray[idx2]) { // compare two values in an array


    'idx2' would be a seperate index, correct?

    I am trying to compare three 'side by side' values..
  4. Replies
    8
    Views
    945

    Boolean array comparison/arguments

    Hi,

    I am trying to figure out how compare two values in a boolean array. For example:

    if [i] = true, compare [i+1] and [i-1]... then, if one is true, and the other is false, [i] = true.
    ...
  5. Replies
    8
    Views
    945

    comparing values in a boolean array

    Hi,

    I am trying to figure out how compare two values in a boolean array. For example:

    if [i] = true, compare [i+1] and [i-1]... then, if one is true, and the other is false, [i] = true.
    ...
Results 1 to 5 of 5