This is an abstract by Nick Parlante. This pdf document explains how pointers and memory work and how to use them.

   This document concentrate on explaining how pointers work.
  
   This document starts with the basics and advances through all the major topics.Each basic concept is covered once and usually there is some example code and a memory drawing.

Topics: 

   1.   Pointers
   2.   local memory
   3.   Allocation and Deallocation
   4.   Dereference operations
   5.   Pointer assignment
   6.   Deep vs Shallow copies
   7.   The ampersand operator ( & )
   8.   Bad pointers
   9.   The NULL pointer
  10.  Value parameters
  11.   Reference parameters
  12.   Heap allocation and deallocation
  13.  Memory ownership models and memory leaks
  14.  others...

  This is an free education materials available at http://cslibrary.stanford.edu/102/  
  
  Other related documents and references, you can find inside this document.

  Download link:


  

Categories:

Leave a Reply