:) helpers.c exists
:( helpers.c compiles
\ expected an exit code of 0, not standard error of "helpers.c:32:18: error: implicit declar..."
:| finds 42 in {42,43,44}
\ can't check until a frown turns upside down
:| finds 42 in {41,42,43}
\ can't check until a frown turns upside down
:| finds 42 in {40,41,42}
\ can't check until a frown turns upside down
:| finds 42 in {41,42,43,44}
\ can't check until a frown turns upside down
:| finds 42 in {40,41,42,43}
\ can't check until a frown turns upside down
:| finds 42 in {39,40,41,42}
\ can't check until a frown turns upside down
:| doesn't find 42 in {39,40,41}
\ can't check until a frown turns upside down
:| doesn't find 42 in {39,40,41,43}
\ can't check until a frown turns upside down
https://sandbox.cs50.net/checks/e2b8a29beab140cbb1c73187825bf999
1 Answer
The answer, of course, is to declare any additional functions in helpers.c rather than helpers.h because the grader uses its own version of helpers.h which is no different from helpers.h in the distribution code.
make find
to see the compilation errors.helpers.h
? If so, you need to declare them inhelpers.c
instead.