Gold Enthusiast
|
From Teach Yourself C++ in 24 Hours (2nd Ed.) (ISBN: 0672315165) by Jesse Liberty: quote: p134: A pointer is a variable that holds a memory address.
A code snippet (from p137): int howOld = 50; // Make a variable
int * pAge = 0; // Make a pointer
pAge = &howOld; // put howOld's address in pAge Essentially, its how c++ gives you low-level access to RAM. Tred with care. Hope this was helpful.
|
| |
| Posts: 976 | Location: Fox Valley, Second Life | Registered: 06-03-02 |    |
|