From the docs on find
If you do plan on using additional functions in
helpers.c
, be sure to include the function prototypes inhelpers.c
.
I think that last helpers.c
, should be helpers.h
?
CS50 Stack Exchange is a question and answer site for students of Harvard University's CS50. It only takes a minute to sign up.
Sign up to join this communityFrom the docs on find
If you do plan on using additional functions in
helpers.c
, be sure to include the function prototypes inhelpers.c
.
I think that last helpers.c
, should be helpers.h
?
That's not a typo. You might notice the footnote link at the end of that sentence that leads to this:
- This isn’t necessarily the best practice; you’d typically have all your prototypes in
helpers.h
, but sincecheck50
references our ownhelpers.h
, for checking purposes, you’ll have to include the prototypes inhelpers.c
, which is passed in directly when runningcheck50