0

I am having many troubles with the recover problem but for the moment the most important one seems to be that my code doesn't even pass the step to go through my if loop to find the jpeg start.

Here is the beginning of my code, some hint would be much appreciated.

Thanks !

[snipped code per academic honesty guidelines]

// read byte by byte and find the pattern for a jpg

int buffer [512] ;
1

Shouldn't your buffer be an array of 512 bytes? (unsigned chars)? You've declared an array of integers.

You must log in to answer this question.

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