home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!elroy.jpl.nasa.gov!usc!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 and farcoreleft()
- Message-ID: <1992Sep3.134102.17553@news2.cis.umn.edu>
- Summary: Does farcoreleft() give correct value when mem is allocated with new?
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Nntp-Posting-Host: epx.cis.umn.edu
- Organization: University of Minnesota
- Date: Thu, 3 Sep 1992 13:41:02 GMT
- Lines: 10
-
- In a C++ program I've been writing, strategically placed farcoreleft()'s
- seem to be saying that my objects are not being de-allocated correctly when I
- 'destroy' them. Should I worry about this, or is farcoreleft() designed for
- use with malloc()? If so, is there a C++ function which will tell me how much
- mem. I have left? I'm using Borland C++ v3.1.
-
- thanks
-
- Mark Wright
- wright@epx.cis.umn.edu
-