delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/09/01:48:45

From: Guy Rauscher <rauscher AT netvision DOT net DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: new and delete
Date: Fri, 07 Aug 1998 01:14:56 -0700
Organization: NetVision LTD.
Lines: 14
Message-ID: <35CAB780.4FB1@netvision.net.il>
Reply-To: rauscher AT netvision DOT net DOT il
NNTP-Posting-Host: ts011p16.hrz.netvision.net.il
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi!

I'm sorry if this is the wrong group for this, but I couldn't find any
more appropriate one.

My question is this: Why can't delete detect if its deleting an array or
a single variable, like free() does? I don't always know how long is the
array I'm deleting; it could be just one variable long, so should I use
delete with or without []? Or maybe it doesn't matter anymore in new
compilers?

Thanks a lot,

Guy

- Raw text -


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