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
What are difference in..
What are difference in..
Aug 11, 2013 at 3:19pm UTC
vishalonne
(3)
Hi All
Can any one give some explanation on
What are this and *this? How are these two different?
Thank you in advance
Aug 11, 2013 at 5:00pm UTC
vlad from moscow
(6539)
this is a pointer while *this is an object pointed by the pointer this.
Aug 11, 2013 at 5:10pm UTC
Rechard3
(284)
from the tutorial on this site:
http://www.cplusplus.com/doc/tutorial/classes2/
scroll down to reach:
The Keyword
this
Topic archived. No new replies allowed.