Date: Fri, 13 Dec 1996 13:30:49 -0200 Message-Id: <1.5.4.16.19961213110754.28ff41d0@dmeasc.rc.ipt.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: billc AT blackmagic DOT tait DOT co DOT nz, jean-gael DOT gricourt AT snet DOT net From: Cesar Scarpini Rabak Subject: Re: Help ! Cc: djgpp AT delorie DOT com At 09:06 13/12/96 +0000, Bill Currie wrote: [snipped] > >Malloc (and thus new) will not allocate 0 bytes, and will return a null >pointer. > Are you sure of this? The C++ Programming Language 2nd Ed. says that /a pointer to an object/ is returned, not a null pointer, for the new operator. (See pg. 498). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cesar Scarpini Rabak E-mail: csrabak AT ipt DOT br DME/ASC Phone: 55-11-268-35221Ext.350 IPT - Instituto de Pesquisas Tecnologicas Fax: 55-11-268-5996 Av. Prof. Almeida Prado, 532. Sao Paulo - SP 05508-901 BRAZIL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~