I run my code which seems right to me but nothing happens! No images appear in my jpeg file!! Please help me I am stuck. Thank you
[code hidden to comply to academic honesty]
// Checks if file is indeed a JPEG by checking if the first 4
// sequence of bites match the sequence of bytes that a JPEG must
// have as mentioned in walkthrough
if(buffer[0]==0xff && buffer[1]== 0xd8 && buffer[3] == 0xff && (buffer[3]==0xe0 || buffer[3]==0xe1))
[code hidden to comply to academic honesty]