How to detect memory leaks in c++

Answer Posted / freaxer

override new and delete, add memory tracker

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?

824


Why is c++ awesome?

821


What is the use of ::(scope resolution operator)?

845


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

748


Why pointer is used in c++?

825


what are the types of Member Functions?

891


When you overload member functions, in what ways must they differ?

802


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

2051


Can recursive program be written in C++?

920


Explain mutable storage class specifier.

843


Why should we use null or zero in a program?

799


What is the standard template library (stl)?

1072


What is c++ try block?

818


Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h

878


If there are two catch statements, one for base and one for derived, which should come first?

781