on the 2019 pset 3 on CS50, my code for "Recover" is working and compiling, but when I go to check50, it fails to compile.

Picture of code: https://pastebin.com/rCALvDjq

Picture of error messages: https://gyazo.com/457f96963d2d11b31c92e8c4c2511375

Picture of bmp.h: https://gyazo.com/e64910a794c6a1ed4497080530ce22ff

Please help!

1 Answer 1


Do not include bmp.h, it's not in the directory when compiled by check50. If you need something from that file (e.g. #include <stdint.h> and typedef uint8_t BYTE;), copy it into your recover.c.

  • thanks so much! it works now
    – JonahK
    Aug 8, 2019 at 17:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .