Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 17209

The standard edition of Problem Set 4 will move beyond C programming language basics, testing your knowledge of pointers, memory management, file i/o and structs.

0 votes

Wierd out put with resizing small.bmp to 3X3

That image looks like you've got your SEEK_CUR pointing at the wrong bits in the input file. Since it works fine resizing to 4x4, my guess is there is something wrong with the padding. Here are some t …
Jacob Harrison's user avatar
1 vote

Recover.c finds 50 images, but images are incomplete

The problem was with the exit condition of the do while loop: while(buffer[0] != 0xff && buffer[1] != 0xd8 && buffer[2] != 0xff && (buffer[3] & 0xf0) != 0xe0); Changing it to negate the entire condi …
Jacob Harrison's user avatar
0 votes
1 answer
190 views

Recover.c finds 50 images, but images are incomplete

my recover.c runs and finds all 50 images, but the images are incomplete It seems like something is going wrong with how I'm reading the fat blocks or writing each image file, but I can't seem to s …
Jacob Harrison's user avatar