Mail Archives: djgpp/1995/04/14/08:06:38
Hi
After reading the mails about porting Borland to DJGPP,
I am reminded another function "coreleft()."
How do I know how much memory are free?
I use a lot of "new" operations in my program, and I want
to know whether I return all of memory that I allocate.
I think I may check the subroutine by comparing the amount
of memory before running and those after running.
Another question:
If I do not return all of dynamically allocated memory
before I quit the program, is there any harm to the system?
Thanks in advance.
Andy
- Raw text -