Pointers and dynamic memory allocation are some of the most confusing topics for new programmers! But don't be afraid of them--they're very useful concepts because they unlock the ability for your program to continually request and use new memory. In reality, a pointer is just a way to refer to the PLACE that a variable is stored, which lets you ask for more places to store variables. Imagine a video game with unending levels--each level needs new memory. Pointers let you ask the system for new memory for each new level.
(Intermediate) - Understanding how Memory is really Laid Out - If you're having trouble getting your head around what memory really looks like--this article is the answer
(Advanced, Linux) - Using Valgrind to Find Memory Leaks - Learn how to track down memory leaks automatically using a free Linux-based tool
49 Dover St. #37, Somerville, MA 02144, USA