O'Reilly logo

SAMS Teach Yourself C++ in 10 Minutes SECOND EDITION by Jesse Liberty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summing Up

You have just gone through one of the most difficult lessons in this book. Pointers are critical to mastering C++, but they are the cause of a large number of programming problems. You have seen how stack allocation and heap allocation differ from each other, how to get storage from the heap, how to use it, and how to get rid of it. You have seen some of the common mistakes and dangers, and have, hopefully, developed a serious respect for the power and the potential for problems that pointers represent.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required