cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Arrow member selection
Arrow member selection
Sep 21, 2014 at 9:07am UTC
EvE12
(39)
Just wanted to ask if arrow member selection operator is used to access a pointer from any function or its only used to access pointers from classes only?
Sep 21, 2014 at 9:56am UTC
MiiNiPaa
(8886)
From whichever you like
a -> b
is equivalent to
(*a).b
; where you can use one, you can use other.
Sep 21, 2014 at 10:10am UTC
EvE12
(39)
thanks
Topic archived. No new replies allowed.