🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #17841

Re: Error al liberar arrays de objetos

#17841
From: batsman batsman
Date: Thu, 28 Oct 1999 00:00
45 lines
2491 bytes
-----BEGIN PGP SIGNED MESSAGE-----

In article <38186800.25353567@localnews.mcc.ac.uk>, 
carlos.rega@dreamtheater.zzn.com wrote:
>On Thu, 28 Oct 1999 14:44:10 GMT, carlos.rega@dreamtheater.zzn.com
>wrote:
>
>>segun Effective C++ (Item 5, pag 23 de la segunda edicion), si haces 
>>
>>array = new clase_objeto[n];
>>
>>la forma correcta de llamar a delete es con:
>>
>>delete [] array;
>perdon     ^^^^^ esto es clase_objeto, acabo de probarlo con cygwin
>(gcc version egcs-2.91.57 19980901 (egcs-1.1 release)) y funciona

����JARRR??? ���Seguro que no es 
  delete [] array;

???

- --  
              _           _                             
             | |__   __ _| |_ ___ _ __ ___   __ _ _ __  
             | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ 
             | |_) | (_| | |_\__ \ | | | | | (_| | | | |
             |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
  ________________________________________________________________
 |Visit   |  http://www.geocities.com/SiliconValley/Vista/2075    |
 |Linux   |  http://www.geocities.com/SiliconValley/Vista/4289    |
  ----------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQEVAwUBOBiiAb0Y27yr0iefAQGFHQgAi7BUbO4LNEtbEXZ4hK+R5rbZyHGy48Q5
bzwWA/EMnRzfRMlF4cstZwtevKset5ScXQF/37LgYmAfEns3iwPZVZcapv9zZhLw
cUaWvxgR3CRCbuKL5FLbx9bJg1N2mWzD0yLl/g98gqpWAOS37cTz0gvkl/Ui05j+
2//oQZOT7x74HHUIsk2fH8ntm0lAx6DcjL949XFeA6ZPANiygquhFVnWb5HVWSTI
Md08W3mopyoDlcVf3ZTaJx5qfHLJnTkxJvZ8lvSbIm7EyjajrZkFeUtjp4br2mzw
GlE//niSA8yjylvWkMJQUu3HW8fW/rGBjSi3OM2SjXV+7N9rw3/u9A==
=+5q/
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <7m7av7.3m.ln@simpsons4ever>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <381800E1.CC434167@lcc.uma.es> <3818608a.23442707@localnews.mcc.ac.uk> <38186800.25353567@localnews.mcc.ac.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,1c9c04d868180c90
X-Google-Attributes: gidf86c8,public
From: batsman@simpsons4ever. (batsman)
Subject: Re: Error al liberar arrays de objetos
Date: 1999/10/28
Message-ID: <7m7av7.3m.ln@simpsons4ever>
X-Deja-AN: 541735746
Content-Transfer-Encoding: 8bit
References: <381800E1.CC434167@lcc.uma.es> <3818608a.23442707@localnews.mcc.ac.uk> <38186800.25353567@localnews.mcc.ac.uk>
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@bt.es
X-Trace: titan.bt.es 941133927 11735 212.49.137.76 (28 Oct 1999 18:05:27 GMT)
Organization: Debian 2.01 HAMM User
Mime-Version: 1.0
Reply-To: Usa el programa de descodificación 
NNTP-Posting-Date: 28 Oct 1999 18:05:27 GMT
Newsgroups: es.comp.os.linux.programacion