Memory leaks
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Memory leaks

  1. #1
    Join Date
    Mar 2004
    Location
    Israel
    Posts
    638

    Memory leaks

    Hi every1,
    I'm a C programmer, with a limitted knowledge of OOP, and I would like to practice C++.
    the following ain't homework:

    I want to create generic code (parser maybe?) that helps
    finding memory leaks and/or illegal memory access in a code.
    (a kind of memory profiler).
    I hold Meyers books EC++,MEC++(which I read most of it)
    and the gang of four "Design patterns" (which I read a part).
    Thats my starting point.

    I need tips on any level of design and considerations.
    I'm sure there are few ways to handle it, and I'm not
    trying to develop a complete soulution,
    just estimating my limits and expand my skills.

    oh, and I want to use pure C++ without any environment
    related tricks.

    Thank you in advance,

    Guy
    Last edited by Guysl; April 7th, 2004 at 07:11 AM.
    **** **** **** **** **/**

  2. #2
    Join Date
    Feb 2004
    Location
    USA - Florida
    Posts
    729
    Here's 2 links about overloading new() to help find memory leaks:

    http://www.flipcode.com/tutorials/tut_memleak.shtml
    http://www.relisoft.com/book/tech/9new.html (scroll a little more then half-way down the page to the section "Tracing Memory Leaks".)

  3. #3
    Join Date
    Mar 2004
    Location
    Israel
    Posts
    638
    cma,
    Thanks. I'm hiding one eye just to ignore the code there,
    trying to read only the idea.
    **** **** **** **** **/**

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center