I suggest you stop, and read the Valgrind Quick Start paying particular attention to section 4 Interpreting Memcheck's output and look over the FAQ.
I suggest you stop, and read the Valgrind Quick Start, paying particular attention to section 4, "Interpreting Memcheck's output," and look over the FAQ. Afterward, I think you could benefit from reading How to Ask Questions The Smart Way (aka Smart Questions) to improve your problem solving skills, and improve your asking for assistance in community forums like StackOverflow, where better questions are rewarded with better answers. This is not intended to be an insult or personal attack, but a suggestion on how you can ask questions better, so you can get better answers.
You will also learn how to answer your own basic questions yourself more often in the process, speeding up your overall efforts. Good luck.
Or the short answer - RTFM – pm100 Mar 19 '10 at 18:56 1 If the Original Poster doesn't know where the manual is, such an answer is useless. I try to give people the benefit of the doubt, particularly since the OP at least tried to describe the question well. Sometime technical documentation can be overwhelming if you are new to a subject, especially something as potentially complex as memory management, so all they need is a nudge towards the right documentation.
– mctylr Mar 19 '10 at 20:46.
The output you pasted shows: ==2420== total heap usage: 82 allocs, 1 frees, 2,592 bytes allocated ... ==2420== still reachable: 2,240 bytes in 81 blocks 82 allocations and only one free, so in the end there are 81 blocks still 'reachable' on the heap. As the Valgrind FAQ states, this may indicate that the code uses some memory pool allocator and therefore does not free memory as soon as it's unused, but rather keeps it for later use, or it may actually be a memory leak (unlikely, though). Follow the steps in the link to check whether this is due to the STLs use of memory caching.
Thanks for the tip – sbsp Mar 19 '10 at 19:09 you're welcome :P – laginimaineb Mar 19 '10 at 19:15 As the question was tagged C, I assume the C++ STL or String class is not an issue for the sbsp. Good answer. – mctylr Mar 19 '10 at 20:51.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.