From: Charles Terry Newsgroups: comp.os.msdos.djgpp Subject: Re: bad_alloc exception Date: Sun, 29 Mar 1998 10:26:42 -0800 Organization: All USENET -- http://www.Supernews.com Lines: 13 Message-ID: <351E9261.2DDF@plinet.com> References: <351DC2A4 DOT 263D31BC AT umich DOT edu> NNTP-Posting-Host: 24214 AT 207 DOT 174 DOT 3 DOT 190 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Michael Krause wrote: > > Is there anyway to get the new operator to throw a bad_alloc exception > instead of just returning zero? > > Mike Krause > mhkrause AT umich DOT edu yes but you will have to download the source code and modify the new function and recompile. Charles