The Computer Language Benchmarks Game is a collection of 429 programs, consisting of 13 benchmark reimplemented across 33 programming languages. It is a fantastic resource if you are trying to compare programming languages quantitatively. Which, oddly, very few people seems to be interested in doing.
This is a nice summary on memory mismanagement for C/C++ coders. It covers memory-leaks, double-frees, off-by-ones, unassigned pointers and other common mistakes.