This is only offered as a feature of the debug CRT that you must enable. C/C++ does not hold the dev's hand during development nearly as much as managed languages do. The compiler will never warn you of a possible memory leak. The debug CRT will track allocations and de-allocations for you and with the correct configuration will link you to the lines of code that are the source of the leak.I am using C, but the compiler should atleast give a warning when a possible memory leak could occur.



LinkBack URL
About LinkBacks



