Comments on Profile Post by PrincessKairixXx

  1. cstar
    cstar
    not sure what a "for loop" is
    Feb 6, 2017
  2. PrincessKairixXx
    PrincessKairixXx
    "if statements" and "for loops" are a programming thing, it's tough to explain but it looks like this:
    Feb 6, 2017
  3. PrincessKairixXx
    PrincessKairixXx
    int[9][9] isolateNumber (int[9][9] board)
    {
    for (int i = 0; i < 9; i++) //traverse row
    {
    for (int j = 0; j < 9; j++) //traverse column
    {
    if (board[j] == 0) //if value at i,j is empty
    {
    for (int k = 0; k < 9; k++) //for i, 0 thru i, 8
    {
    if (board[k] = 0)
    {
    if (k) //......hold up now. There is no way to do all of this at once.
    }
    }
    }
    }
    }
    Feb 6, 2017
  4. PrincessKairixXx
    PrincessKairixXx
    which means I'm looping an ungodly amount of times and more than likely doing something wrong x'D
    Feb 6, 2017
  5. cstar
    cstar
    Huh, well, I learned something new today.
    Feb 6, 2017