delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/09/21:45:58

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: "delete" and "delete []" operators
Date: Thu, 09 Jul 1998 18:24:41 -0700
Organization: Alcyone Systems
Lines: 16
Message-ID: <35A56D59.3B3F70A@alcyone.com>
References: <ivglrCA7V$o1Ew74 AT lwithers DOT demon DOT co DOT uk> <873ecbeyni DOT fsf AT hasn DOT dera DOT gov DOT uk> <35ac1dc6 DOT 18799942 AT news DOT Austria DOT EU DOT net>
NNTP-Posting-Host: charmaine.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Gerhard Gruber wrote:

> Why? If have seen this delete[] in a few cases but I don't really know
> what
> the difference is to the "normal" delete.

delete is for deleting objects.  delete[] is for deleting arrays of
objects.

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm:+37.20.07/-121.53.38
                                     \
           I put away my nine, fool / 'cause I'm colorblind.
                                   / Ice Cube

- Raw text -


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