Mail Archives: djgpp/1998/08/27/16:04:41
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 -