-
March 29th, 2005, 07:08 PM
#1
Junior Member
Trying to understand multiple pointers
Hello, I'm trying to grasp the concept of multiple pointers in C++.
For example, say we have a:
class A () { foo; }
...and later on in the program we have:
A* function1();
A** &operator[](char ) const {}
A*** var;
Now is the succession like this:
function1 --> &operator[] --> var
...or vice-versa?
At this point, the more I try to figure it out the more I'm asking, "Who's on first? What's on second, etc"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|