www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/21/00:41:14

Date: Sun, 21 May 2000 07:38:53 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
cc: djgpp AT delorie DOT com
Subject: Re: C++, complex, etc
In-Reply-To: <39259C6C.454D4233@mtu-net.ru>
Message-ID: <Pine.SUN.3.91.1000521073600.15757A@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 19 May 2000, Alexei A. Frounze wrote:

> How do I work with all those types? For example, if file position depends on
> a string length, how do I mix those size_t and fpos_t correctly?

In general, there should be no need to mix them.  There should be no 
reason for a file position to depend on a string length.

If you do need this, you will have to figure out the relationship between 
these two types.  I think off_t is at least as large as size_t, at least 
in all implementations I saw.

- Raw text -


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