delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/29/12:01:58

Date: Tue, 29 Jul 1997 08:59:23 -0700 (PDT)
Message-Id: <199707291559.IAA05190@adit.ap.net>
Mime-Version: 1.0
To: fighteer AT cs DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: ifstream (FILENAME, ios::binary). Can't Read!!!
Cc: djgpp AT delorie DOT com

John M. Aldrich wrote:
>Art S. Kagel wrote:
>> 
>> > BTW, I just wrote a little program to print out the maximum value of a
>> > 64 bit integer:
>> >
>> > 18446744073709551615
>> Unsigned.  Signed that would be:
>> 9223372036854775807
>
>Showoff.  :)  But how can you read a negative number of bytes from a
>file?  That was the implicit assumption in what I said.
ALL THIS IS MOOT. You can't even have a file larger than 2^32. DOS (and I
think Unix also) defines the file pointer as being 32 bits. So there is no
possibility to have more than a 4GB file.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019