Tool for run-time errors and memory leaks detection
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.