Re: How to deal with big-size files??



هنداوى wrote:
What can i do to open , write and seek in file with size 2 GB or more

I know that you r limited with int type size which is 32-bit but how
programs like gzip , zip read and write from files with big size like
2-GB

how can i break this limit in C or even C++

Some compilers provide big file support
Microsoft and other compilers like lcc-win provide special functions
like fseeki64 and other functions to cope with files bigger than
2GB under the windows system.

Just look at the documentation of those compilers.

--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32
.



Relevant Pages

  • Re: lcc-win32... Hello World exe is twice the size as MinGW
    ... the exe size down to 31kb by unchecking the Compiler> Generate ... the best thing to do is to accept those 31K in the disk file. ... jacob at jacob point remcomp point fr ... dependent on which libraries the different compilers use for the ...
    (comp.compilers.lcc)
  • Re: Dynamic (as in Reflective) Programming in C?
    ... absent. ... casting a function pointer to a void or unsigned char pointer ... (illegal, but oddly allowed by most compilers), then buffering all the ... jacob at jacob point remcomp point fr ...
    (comp.lang.c)
  • Re: Variable declaration - Is this valid in standard C?
    ... On the other hand, not all compilers - in fact, hardly ... Many compilers support c99, ... Richard is entirely correct; jacob is wrong. ... any compiler that supports *some* C99 features will support that one, ...
    (comp.lang.c)
  • Re: Another crazy new language effort - Language #42
    ... Hardware compilers are completely ... Automatically generate FPGA hardware ready for use with your selected FPGA-based platform. ... jacob at jacob point remcomp point fr ...
    (comp.lang.c)
  • Re: Windows graphics problem
    ... Jacob said you should buy it, not that you can just download it. ... suitable arrangements. ... Also you have said you want it to work with all compilers. ...
    (comp.lang.c)