Garbage Collection in C++
I'm a not a beginning programmer but I am comparatively a beginner since I can't understand how to use the Hans Boehm Garbage Collector with my program.
I am making a big program right now and am experiencing increasing page file usage, which leads me to believe I have a memory leak. I have traced my entire code as much as possible but I haven't ventured into my SDL header files. (I use graphics).
After some research I dicovered the "wonders" of garbage collection, and downloaded the formerly mentioned gc.
Nowhere to be found is a step-by-step introduction as to how to use this wonderous tool! I'm talking about:
1. Where from and what exactly to dowload.
2. How to make sure I extracted all files correctly.
3. How to set up my Dev-Cpp compiler (if needed) and my code to use the GC.
4. How to actualy invoke memory cleanup sweeps, that is, if I must, in my program's loop...