elliott-beach / project3

http://www-users.cselabs.umn.edu/classes/Fall-2017/csci5103/PROJECT/PROJECT3/project3.pdf
0 stars 0 forks source link

Single indirect #9

Closed ghost closed 6 years ago

ghost commented 6 years ago

I tested this on a file that was larger than the 10 direct blocks and it works.

elliott-beach commented 6 years ago

Phooey. I was working on this but you finished before me. I should have communicated more or spent less time eating nutella bread.

I think you could save yourself the burden of the bitshift logic by just casting the ptrBlock array from char* to int* and accessing normally.

elliott-beach commented 6 years ago

And I utilized GitHub's ability to make the suggested change, hope you don't mind.