![]() |
|
#41
|
|||
|
|||
|
Quote:
There are 2 ways to solve this : 1) If you don't have to allocate buffers and your using C++ , just use STL. 2)If you have to do allocations/cleanups manually , then you need a memory tracker with the ability to dump every single entry to a log file or something. The tracker must hold at least : 1) The data-pointer , 2) The size , 3) The source file , 4) The line of the current source file(just take a look at __FILE__,__LINE__ directives), and must know exactly how many blocks of memory are available, preventing memory allocations out-of-the-limit. Suggestion before implementing this : Use linked lists to store this information. Don't use static array stacks or dynamic arrays. Last edited by Brick; 09-24-2009 at 06:52 AM. |
|
#42
|
||||
|
||||
|
jus noiced this but my tutorial for "How To Install MinPSPW with Code::Blocks IDE" is named "Stinkee2 - by Stinkee2" lol
was that an accident?
__________________
----------------------------------------- ![]() The Real Brian Peppers (Told From Brother) =D By far my favorite quote ever: "PM Oyabun a bunch of gay pr0n and you're in." - ...BeAkEr... Other Funny Quotes: Spoiler: |
![]() |
|
|
|||
|
|||
|
|
| Thread Tools | |
| Display Modes | |
|
|