Thread
:
What's arrow -> means in C++?
View Single Post
#
8
(
permalink
)
11-30-2007, 05:24 AM
Bench
Full Programmer
Join Date: Jul 2007
Location: UK
Posts: 116
iTrader: (
0
)
Just to add to this discussion - the
->
operator is a short-hand way of writing
(*foo).x
where 'foo' is a pointer to a class/struct/union type.
__________________
Bench
View Public Profile
Send a private message to Bench
Find all posts by Bench