Hot answers tagged

1 vote

lab4 volume - Not being able to understand the given solution

3rd question: fread takes as arguments the buffer or variable (array) you want to read into, it has that "&" because arrays are kind of pointers, then it takes how many bytes to read, ...
user avatar
1 vote
Accepted

unit16_t error while including library

Spelling error in the code. it should be uint8_t not unit8_t
user avatar
1 vote

Possible error in solution video of pset4 lab 'volume' within fread() function of header

This is not a mistake I thought the same that you thought but then I understood all that we are doing is to take the entire chunk of 44 bytes and copying it at ONCE and this is important AT ONCE to ...
user avatar
  • 10
1 vote
Accepted

Possible error in solution video of pset4 lab 'volume' within fread() function of header

This is not a mistake in the lecture. header contains enough space to hold HEADER_SIZE bytes. You are probably thinking that it is being declared as an array of unit8_t, which it is, but it will be an ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible