Chapter 8: Pointers


Overview

So far our examination of C++ has taken us through variables and constants to all kinds of methods for dealing with them. Conditional statements, program branches, and loops are all fundamental to the idea of handling data in C++. This chapter takes data a step further in C++ as we explore pointers. This is a subject of great importance for C++, as pointers and offer tremendous power and flexibility. This chapter considers the following subjects:

  • Memory addresses

  • Pointers

  • Pointer dereferencing

  • Address Of

  • Pointer arithmetic

  • Pointers and arrays




Introduction to Game Programming with C++
Introduction to Game Programming with C++ (Wordware Game Developers Library)
ISBN: 1598220322
EAN: 2147483647
Year: 2007
Pages: 225
Authors: Alan Thorn

Similar book on Amazon
Beginning C++ Through Game Programming
Beginning C++ Through Game Programming
Beginning Game Programming
Beginning Game Programming
The Ultimate Guide to Video Game Writing and Design
The Ultimate Guide to Video Game Writing and Design

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net