home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 9021 < prev    next >
Encoding:
Text File  |  1992-09-03  |  941 b   |  23 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!epx.cis.umn.edu!wright
  3. From: wright@epx.cis.umn.edu (Mark Wright)
  4. Subject: New and farcoreleft()
  5. Message-ID: <1992Sep3.134102.17553@news2.cis.umn.edu>
  6. Summary: Does farcoreleft() give correct value when mem is allocated with new?
  7. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  8. Nntp-Posting-Host: epx.cis.umn.edu
  9. Organization: University of Minnesota
  10. Date: Thu, 3 Sep 1992 13:41:02 GMT
  11. Lines: 10
  12.  
  13.    In a C++ program I've been writing, strategically placed farcoreleft()'s
  14. seem to be saying that my objects are not being de-allocated correctly when I
  15. 'destroy' them.  Should I worry about this, or is farcoreleft() designed for
  16. use with malloc()?  If so, is there a C++ function which will tell me how much
  17. mem. I have left?  I'm using Borland C++ v3.1.
  18.  
  19. thanks
  20.  
  21. Mark Wright
  22. wright@epx.cis.umn.edu
  23.