home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!epx.cis.umn.edu!wright
- From: wright@epx.cis.umn.edu (Mark Wright)
- Subject: New, farcoreleft() and BC++ 3.1
- Message-ID: <1992Sep2.051106.14984@news2.cis.umn.edu>
- Summary: Does farcoreleft() give me the right number when I use 'new'?
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Nntp-Posting-Host: epx.cis.umn.edu
- Organization: University of Minnesota
- References: <1992Aug30.000250.12486@tfs.com> <1992Sep2.040640.406@frumious.uucp>
- Date: Wed, 2 Sep 1992 05:11:06 GMT
- Lines: 9
-
- In one of my C++ programs I just happened to put a farcoreleft() after
- having deleted all my 'new'ed objects, and I get the same ammount of free
- space as I had when those objects were still around. Are my ~Object routines
- faulty, or does farcoreleft() not work correctly with objects allocated with
- 'new'? I'm compiling in the large memory model (oh, and using BC++ 3.1).
-
- thanks,
- Mark Wright
- wright@epx.cis.umn.edu
-