Using techniques developed in the classroom at America Online's Programmer's University, Michael Daconta deftly pilots programmers through the intricacies of the two most difficult aspects of C++ pointers and dynamic memory management. Written by a programmer for programmers, this no-nonsense, nuts-and-bolts guide shows you how to fully exploit advanced C++ programming features, such as creating class-specific allocators, understanding references versus pointers, manipulating multidimensional arrays with pointers, and how pointers and dynamic memory are the core of object-oriented constructs like inheritance, name-mangling, and virtual functions. Covers all aspects of pointers pointer pointers, function pointers, and even class member pointers Read C++ Pointers and Dynamic Memory Management and learn how to combine the elegance of object-oriented programming with the power of pointers and dynamic memory!
Pointers are not really the problem, they are a window into the problem. The problem with understanding pointers is fundamentally the lack of understanding of the type system of C ( and of C++), and how it is implemented. ... This is harder to explain, but does underly the confusion students have about pointers.