If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Tool for run-time errors and memory leaks detection

Hi!

Created application is working toooo slow, looks like there are a lot of memory leaks, because the app does not use huge resources, and have no many variables. So, please, can you advice some good tool for run-time errors and memory leaks detection in Visual Studio C++?

Re: Tool for run-time errors and memory leaks detection

The best way to avoid memory leaks, of course, is to write code in such a way that they're impossible----eg, use vectors rather than dynamic arrays, put the result of every new into a smart pointer immediately, etc.