介绍c++ pointer的tutorial

Tutorial: Pointers in C and C++

formatting be made, and that
this notice remain intact.

Pointers

 

 

The source code to all code listings is available as a tarball and as a zip file.

 

 

Using Variables

Essentially, the computer's memory is made up of bytes. Each byte has
a number, an address, associated with it.

The picture below represents several bytes of a computer's memory. In the picture, addresses 924 thru 940 are shown.

你可能感兴趣的:(C++)