delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
From: | "Giovanni Spagnuolo" <spanish AT ieee DOT org> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: new[] and delete[] |
Date: | Mon, 11 Mar 2002 15:16:13 +0000 (UTC) |
Organization: | Mailgate.ORG Server - http://www.Mailgate.ORG |
Lines: | 31 |
Message-ID: | <04c70d9d8683458d0087b99817f8ba00.76722@mygate.mailgate.org> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1020311130512 DOT 17471C-100000 AT is> |
NNTP-Posting-Host: | pc2.diiie.unisa.it |
X-Trace: | news.mailgate.org 1015853485 22718 193.205.164.124 (Mon Mar 11 16:16:13 2002) |
X-Complaints-To: | abuse AT mailgate DOT org |
NNTP-Posting-Date: | Mon, 11 Mar 2002 15:16:13 +0000 (UTC) |
Injector-Info: | news.mailgate.org; posting-host=pc2.diiie.unisa.it; posting-account=76722; posting-date=1015853485 |
User-Agent: | Mailgate Web Server |
X-URL: | http://mygate.mailgate.org/mynews/comp/comp.os.msdos.djgpp/04c70d9d8683458d0087b99817f8ba00.76722%40mygate.mailgate.org |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Thanks for your useful suggestion. I am working on a program that involves large sparse matrices (I am using sparselib++ for solving systems of linear equations). I have many problems with vectors and matrices allocated with new and disallocated with delete whenever I return from a function call. If I remove the suche delete instructions, the program continues but stops some lines afterwards, I suppose due to the lack of memory. Now, I've downloaded the library mss to flush out the problem. What do you think about it? Any other suggestion? Regards Giovanni Spagnuolo "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1020311130512 DOT 17471C-100000 AT is... > See section 15.2 of the DJGPP FAQ list, it explains why this is expected > behavior. > > What are you trying to accomplish, really? Since this is a toy program, > I assume you have something more serious in mind; if you tell what that > is, perhaps someone can suggest a solution. -- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |