Skip to main content

Questions tagged [pset4recover]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Code compiles but files are not read. Recover pset4

Trying to find the problem i could track it to the else statement where ""printf("Could not open file because NULL.\n");"" is located. The files are not read at all or ...
Francisco Azocar's user avatar
0 votes
1 answer

Pset4 recover produces only 2 corrupted iamges

I am at Pset4 recover pset. When I run my code, it produces only 2 corrupted images here is my code : #include <stdio.h> #include <stdlib.h> #include <stdint.h> typedef uint8_t BYTE;...
Ahmed Elbessfy's user avatar
0 votes
1 answer

pset4 recover 049.jpg recovered image does not match

I cant understand why 049.jpg is not working #include <stdio.h> #include <stdlib.h> #include <stdint.h> unsigned char bytes[512]; //counter for the jpg files int jpgCount = 0; ...
Asmat Ullah Khan's user avatar
0 votes
1 answer

pset4(recover-less): Segmentation Fault

#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> int main(int argc, char *argv[]) { // ensure proper usage if (argc != 2) { ...
Benedict Florance's user avatar