Message-ID: <3927C224.D842B3EC@mtu-net.ru> Date: Sun, 21 May 2000 15:01:56 +0400 From: "Alexei A. Frounze" X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: Eli Zaretskii Cc: djgpp AT delorie DOT com Subject: Re: C++, complex, etc References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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