From: Guy Rauscher 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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