All Questions
2 questions
0
votes
1
answer
605
views
pset4 resize: how to copy a row
Just spent 2 days for figuring out how fread(), fwrite() and fseek() works.
I tried to use "Rewrite" method from Zamyla's video for vertycal resizing:
- Remember pixels in array (first written row of ...
0
votes
1
answer
494
views
pset4 malloc() approach. Help with size of buffer
I'm having some trouble with the malloc function.
I want to make a buffer the size of the new row I'm going to write in the resized file, and this is my approach.
I must say that bi.biWidth is ...