[algogeeks] Re: Memory Leak

2011-08-16 Thread Jacob Ridley
Use WinDbg->UMDH to find which stack is making more allocations. On Aug 15, 3:03 am, SAMMM wrote: > How to detect in which line the Memory Leak has occured ?? I want the > line number where the Memory leak occurs ??? Give every wild answer u > can think off -- You received this mes

[algogeeks] Re: Memory Leak

2011-08-16 Thread Jacob Ridley
There is nothing like a single tool to detect memory leaks. Use WinDbg- >UMDH to find which stack/line is leaking memory or making more allocations. On Aug 15, 3:03 am, SAMMM wrote: > How to detect in which line the Memory Leak has occured ?? I want the > line number where the Memory leak occurs

[algogeeks] Re: Testcases

2011-08-16 Thread Jacob Ridley
Another important test case: Are all the three values greater than 0? Because negative or zero length values is not allowed for a side of any triangle. On Jul 29, 11:34 pm, Maddy wrote: > If the three sides are a,b,c > > 1. sum of length of any two sides of a triangle, always exceeds the > third

[algogeeks] Re: Probability Puzzle

2011-08-16 Thread Jacob Ridley
I think there is some ambiguity in the question. >>> (All this time you don't know you were tossing a fair coin or not). 1) Does the above statement mean that the thower don't know whether he or she threw a fair coin even after throwing? Or is the thrower not informed beforehand that one of them i