Thread: c++ concepts
View Single Post
  #1 (permalink)  
Old April 10th, 2005, 04:57 AM
kerby kerby is offline
Registered User
 
Join Date: Mar 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to kerby
Default c++ concepts

whats the difference of

 
Quote:
quote:SampleClass object;
Quote:

SampleClass *object;
in which SampleClass is a class.

further, what is the difference of

Code:
object.somefunction();
from...


Code:
object->somefunction();
a journey of a thousand miles is started by taking the first step -chinese proverb
Reply With Quote