-
April 7th, 2004, 06:58 AM
#1
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.
**** **** **** **** **/**
-
April 7th, 2004, 12:54 PM
#2
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".)
-
April 7th, 2004, 01:02 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|