Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
104 views

Pset 4 Resize makes a very colorful picture (not green!)--padding problem?

Well, it looks like I'm not the only one having issues with padding (I suspect that's my problem). Specifically, if I test my version of resize with an enlargement factor of 2 (using small.bmp as ...
Rhinofish's user avatar
0 votes
1 answer
517 views

resize pset 4 confused on number of things

I think I have the headers correct except for the new bf.Size not to sure on that one. I am having real problems with resizing the bitmap and I can't figure out what it is, any hints or pointers in ...
JV305's user avatar
  • 29
1 vote
1 answer
553 views

fseek in pset4(whodunit)

everyone, this is a segment of the code from pset4(whodunit) copy.c, and I'm wondering why the function fseek is needed. Given that padding cannot be read by fread, why not just simply use fputc to ...
Y_C's user avatar
  • 115