Ad
  • Custom User Avatar

    true and false are just constants with int values in c, and bool is typedef for int, so sheep[n] != false actually checks for an int value < 0 or > 1, which is obviously not a valid bool value