Search Results
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 |
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
1
answer
138
views
Recover finds all images except the last one
My program fails to recover the last JPEG. I see all the JPEGs but CS50 Check doesn't see the last file. I checked it with Valgrind and had no memory leaks. I suspect it has something to do with EOF b …
0
votes
jpegs do not exists on running recover.c
Perhaps there are other ploblems too, but this line "if (fread(buffer,512,1,inptr)==512)" evaluates just one time and exits immediately. you never go to the first for loop. Run the debud50 to check it …
0
votes
pset 4 resize.c algorithm problem
When you update the files here, on your 2nd statement you update not only bi.biWidth but the original_file_line _width too. So the original_file_line _width is also bi.biWidth * n. ( It is like: x = …