Mail Archives: djgpp/2000/05/21/07:21:06
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 -