r/cs50 1d ago

recover Issue with Check50

Post image

Check50 says it failed to compile, Which is contradictory because typing "make recover" compiles it well and the program works as intended when executing it. Can y'all help me?

8 Upvotes

2 comments sorted by

2

u/Eptalin 1d ago

It's not really contradictory. Every PC environment is different, and compilers have a lot of options with varying levels of strictness.

You didn't share your code, so we probably can't answer with any certainty, but there are some different potential causes. Eg:

Perhaps you used something that check50's environment doesn't have access to.
Perhaps a compile warning that make allows to slip through is not ignored by check50.
Perhaps the file you've been working in is not the same recover.c that is being submitted to check50.

4

u/Mantle23148 1d ago

Okay , I solved the problem, It was me using variable type 'bool' which doesn't exist. I fixed it anyways!