delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/17/15:56:59

From: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++, complex, etc
Date: Wed, 17 May 2000 21:53:48 +0400
Organization: MTU-Intel ISP
Lines: 18
Message-ID: <3922DCAC.22514C06@mtu-net.ru>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000517101641 DOT 4709E-100000 AT is> <39224964 DOT BBFA67CB AT mtu-net DOT ru> <ma05is82rlb7tjfd2evebath2u4o3b2upt AT 4ax DOT com>
NNTP-Posting-Host: ppp104-101.dialup.mtu-net.ru
Mime-Version: 1.0
X-Trace: gavrilo.mtu.ru 958589775 62734 212.188.104.101 (17 May 2000 18:56:15 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 17 May 2000 18:56:15 GMT
X-Mailer: Mozilla 4.72 [en] (Win95; I)
X-Accept-Language: ru,en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Chris Mears wrote:
[snip]
> >size_t is not a problem. Btw, what so I need size_t for, if both size_t and
> >int equal the same machine word?
> 
> Who says they do?

Me. :) try sizeof() under Borland C/C++ 3.1 and DJGPP. they are 2-byte for
16-bit CPU/compiler and 4-byte for 32-bit CPU/compiler (I'm assuming x86
CPUs).

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