Dynamic Memory Allocation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cplusplusquestion@gmail.com

    Dynamic Memory Allocation

    When I use "new" and "delete", how can I check "delete" deallocated
    all memory I've created using "new" for a very complicated program?
  • Juha Nieminen

    #2
    Re: Dynamic Memory Allocation

    cplusplusquesti on@gmail.com wrote:
    When I use "new" and "delete", how can I check "delete" deallocated
    all memory I've created using "new" for a very complicated program?
    You use a profiler program. In linux, for example, try valgrind.

    Comment

    Working...