Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Endlisnis , djgpp AT delorie DOT com Date: Thu, 27 Aug 1998 16:26:41 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Problem with "new" In-reply-to: <35E497E4.11B69D70@unb.ca> Precedence: bulk Endlisnis wrote: > Klaus Petzold wrote: > > > I use gcc version 2.7.2.1 and I try to reserve some memory with "new". > > My problem is, if there is not enough memory the program returns to > > the OS (code 255), what I don't want. > > How can I avoid this? > > Use 'malloc'. Try malloc with an array of objects ;-)))) SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013