www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/27/16:04:41

Message-Id: <m0zC7fa-000S4AC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Endlisnis <s257m AT unb DOT ca>, djgpp AT delorie DOT com
Date: Thu, 27 Aug 1998 16:26:41 +0000
MIME-Version: 1.0
Subject: Re: Problem with "new"
In-reply-to: <35E497E4.11B69D70@unb.ca>

Endlisnis <s257m AT unb DOT ca> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019