From: gjsandoval AT aol DOT comalwyz (Gjsandoval) Newsgroups: comp.os.msdos.djgpp Subject: Re: SIGSEGV problem with DJGPP (deleting array) Lines: 11 NNTP-Posting-Host: ladder05.news.aol.com X-Admin: news AT aol DOT com Date: 14 Apr 1999 03:31:19 GMT Organization: AOL http://www.aol.com References: <7f0g7a$qg7$1 AT nnrp1 DOT dejanews DOT com> Message-ID: <19990413233119.19280.00000403@ng19.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > double *ptr2= new double [size+1]; > > ptr2[size+1]=0; ^^^^^^ According to your declaration, you have made an array of (size + 1), which means that you can access the subscripts from [0] to size; Try commenting this line out and see how it works. JS