Search:

Type: Posts; User: Matticus

Search: Search took 0.05 seconds.

  1. Replies
    18
    Views
    11,246

    Salem's solution seemed like a good clean idea...

    Salem's solution seemed like a good clean idea without the need for a "goto," unless the side effect they mentioned (the values of 'i' and 'j' being changed) had a detrimental effect on any code...
  2. Replies
    18
    Views
    11,246

    Pardon me for nitpicking, but you forgot the...

    Pardon me for nitpicking, but you forgot the braces around the statements controlled by "if()."



    for(i=0; i<3; i++)
    {
    for(j=0; j<3; j++)
    {
    if ( check_rows(i,j) == 0 ) {...
Results 1 to 2 of 2