www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/04/23:45:24

From: NOSPAMsl AT psycode DOT com (Gili)
Newsgroups: comp.os.msdos.djgpp
Subject: NEW, DELETE and realloc()
Date: 5 Mar 1998 04:30:09 GMT
Organization: Generation.NET
Lines: 8
Message-ID: <bWLoegW7sFse-pn2-rXzsb45p63Iq@portA20.Generation.NET>
Reply-To: NOSPAMsl AT psycode DOT com
NNTP-Posting-Host: portA20.Generation.NET
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,

	Is it possible to use realloc() on memory allocated using NEW? Is 
there a C++ equivilent? Also, is it possible to simply write my own 
NEW operator? If so, what does GCC do, simply reroute the command to 
malloc() and call that instead?

Gili

- Raw text -


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