32 bit Windows and the 2GB file size limit (C with fseek and ftell)

后端 未结 4 638
情书的邮戳
情书的邮戳 2020-12-17 03:28

I am attempting to port a small data analysis program from a 64 bit UNIX to a 32 bit Windows XP system (don\'t ask :)). But now I am having problems with the 2GB file size l

4条回答
  •  别那么骄傲
    2020-12-17 04:21

    My BC says:

    520093696 + 4294967296 => 4815060992

    I'm guessing that your print routine is 32-bit. Your offset returned is most likely correct but being chopped off somewhere.

提交回复
热议问题