Hello everyone!

I got a question, hope someone knows a answer
Im using fopen and fgetc to read bytes from a file. How do i read a integer from a file this way? I want to read a header of a file.

Thanks in advance,

-Shell-