InterviewSolution
| 1. |
How You Find Memory Leaks? |
|
Answer» There many ways to find MEMORY leaks, One of the ways is by using MFC CLASS. And another way is using Purify TOOLS... CMemorState is a MFC class by which we can find the memory leaks. Below is a SAMPLE code to find the same. #ifdef _DEBUG There many ways to find memory leaks, One of the ways is by using MFC class. And another way is using Purify tools... CMemorState is a MFC class by which we can find the memory leaks. Below is a sample code to find the same. #ifdef _DEBUG |
|