Skip to main content
A. H.'s user avatar
A. H.'s user avatar
A. H.'s user avatar
A. H.
  • Member for 8 years, 1 month
  • Last seen more than 8 years ago
awarded
awarded
Loading…
Loading…
revised
Loading…
revised
Loading…
Loading…
comment
Recursive binary function returns error: control reaches end of non-void function
I added a return false; just above the last curly bracket but now when I run find it says the needle wasn't found no matter what, even if I enter a value I know for sure is in the generated numbers. Any idea why this might be?
awarded
revised
Loading…
Loading…
awarded
Loading…