www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/21/07:21:06

Message-ID: <3927C224.D842B3EC@mtu-net.ru>
Date: Sun, 21 May 2000 15:01:56 +0400
From: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
X-Mailer: Mozilla 4.72 [en] (Win95; I)
X-Accept-Language: ru,en
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp AT delorie DOT com
Subject: Re: C++, complex, etc
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000521073600 DOT 15757A AT is>
X-Recipient: eliz AT is DOT elta DOT co DOT il
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:
> 
> 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.

IMHO C/C++ is for programming. Not for figuring out why your idea/algorithm
is faulty, although it's clear and logical.

> 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.

-- 
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror:   http://members.xoom.com/alexfru


- Raw text -


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