0

recover.c compiles and runs normally, but it produces 21 images that have chunks of different images mixed in. Here are the images:

000.jpg: 000

001.jpg: 001

002.jpg: 002

003.jpg: 003

004.jpg: 004

Because I'm too lazy to type 005-020, here are the images in the order of their name: enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here My code can be found here, because my fingers are in pain from copy\pasting images 21 times 😑

  • Are you sure you want to read and write 512 blocks of 1 bit? Also, you shouldn't be checking if it's not 512 bytes in, because that's not the EOF – user9474943 Apr 29 '19 at 13:02
  • Errm... I solved this last week. 😓 – Mayonnaise2124 May 6 '19 at 2:00

You must log in to answer this question.

Browse other questions tagged .