Thread: . vs ->
View Single Post
Old 02-22-2004, 10:11 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
. vs ->

this is very noob i'm sure.

i've been disecting some c++ code to get a better understanding of it.

i was looking a the code for a half-life mod and i see the use of both -> and . after an object.

i'm familiar with using -> , but what is the '.' and when do you ue it?

i.e.

object->property
object.property
__________________
Mike
sde is offline   Reply With Quote