Article View: borland.public.cppbuilder.nativeapi
Article #13193Re: Limit of fopen and/or fread
From: Alan Bellingham
Date: Fri, 24 Oct 2003 07:59
Date: Fri, 24 Oct 2003 07:59
16 lines
1567 bytes
1567 bytes
"Mike King" <emailMK@excite.com> wrote:
>I'm writing a program that uses fopen() and fread() but I'm having a
>problem. The program only sees a total of 336,058 bytes of a file that is
>51,693,886 bytes. Am I doing something wrong? BTW, I'm using fopen()
>because I'm going to build the program on Linux in addition to Windows.
> fp = fopen(filename,"rt");
^
It's a text file? --------'
Alan Bellingham
--
Me <url:mailto:alanb@episys.com> <url:http://www.doughnut.demon.co.uk/>
ACCU - C, C++ and Java programming <url:http://accu.org/>
The 2004 Discworld Convention <url:http://dwcon.org/>
Technical Details
Message-ID:
<psmhpvsqm0cvii3h15skt3qvugcp951b46@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f98a40e$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,2167243a1bc457e4 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-24 01:09:21 PST From: Alan Bellingham <alanb@episys.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Limit of fopen and/or fread Date: Fri, 24 Oct 2003 08:59:35 +0100 Reply-To: alanb@episys.com Message-ID: <psmhpvsqm0cvii3h15skt3qvugcp951b46@4ax.com> References: <3f98a40e$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 62.49.31.105 X-Trace: newsgroups.borland.com 1066982374 62.49.31.105 (24 Oct 2003 00:59:34 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail