Thread: c++ concepts
View Single Post
  #3 (permalink)  
Old April 16th, 2005, 11:38 AM
merediths merediths is offline
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to merediths
Default


 If you come from a C background think of it this way

 object->somefuntion();

 is the same as

 (*object).somefunction();

 this is, -> dereferences the pointer on the right and then calls it's somefunction() method.

Regards,
Meredith Shaebanyan

Reply With Quote