Thread
:
. vs ->
View Single Post
02-22-2004, 11:34 PM
#
3
(
permalink
)
joe_bruin
LOAD "*",8,1
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
the . operator is used to to access a member of a local struct or class instance. the -> operator is for accessing members of a pointer to a struct or class instance.
essentially, s->m is equal to (*s).m
and s.m is equal to (&s)->m
joe_bruin
View Public Profile
Find More Posts by joe_bruin