Reading DWORD from binary file

Posted by Archcegeloge on Stack Overflow See other posts from Stack Overflow or by Archcegeloge
Published on 2010-04-06T07:22:28Z Indexed on 2010/04/06 7:33 UTC
Read the original article Hit count: 197

Filed under:
|
|

Why these lines of code doesn't work when i try to read a DWORD num = 1880762702 using fread(&num, "file path", 1, FILE*); I get the result = 10574 if I change the num to any other number say 2880762702 only then it works.

© Stack Overflow or respective owner

Related posts about c

    Related posts about input