Article View: es.comp.os.linux.programacion
Article #17840Re: Error al liberar arrays de objetos
From: carlos.rega
Date: Thu, 28 Oct 1999 00:00
Date: Thu, 28 Oct 1999 00:00
23 lines
957 bytes
957 bytes
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 Carlos Rega PhD Student Pharmacy Department, University of Manchester
Technical Details
Message-ID:
<38186800.25353567@localnews.mcc.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<381800E1.CC434167@lcc.uma.es> <3818608a.23442707@localnews.mcc.ac.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f86c8,1c9c04d868180c90 X-Google-Attributes: gidf86c8,public From: carlos.rega@dreamtheater.zzn.com Subject: Re: Error al liberar arrays de objetos Date: 1999/10/28 Message-ID: <38186800.25353567@localnews.mcc.ac.uk> X-Deja-AN: 541668101 References: <381800E1.CC434167@lcc.uma.es> <3818608a.23442707@localnews.mcc.ac.uk> Organization: Sirius Cybernetics Corporation Newsgroups: es.comp.os.linux.programacion