About a Class Object
Posted
by
Chicko Bueno
on Stack Overflow
See other posts from Stack Overflow
or by Chicko Bueno
Published on 2011-03-13T07:49:10Z
Indexed on
2011/03/13
8:10 UTC
Read the original article
Hit count: 157
c++
I have a very basic question about a class object. After the class has been created, we need to create a class object. At this point, I'm a bit confused to make either *object
or object
. Example:
CClass object
CClass *object
What is the difference both of them? And to access class function i need to use dot '.'
and arrow '->'
. I know dot and arrow used to access class function, but what is the significant meaning for both dot and arrow?
© Stack Overflow or respective owner