View Single Post
Old 05-25-2004, 02:47 PM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,530
sde is on a distinguished road
yes, it was a c++ example

so i passed 2 pointers into the function.

i compare the value of a1 to the value of a2 without the *

yet, when i assign a new value to a1, i need to use the * before it.

i guess not everything has to make sense. =)

thanks joe
__________________
Mike
sde is offline   Reply With Quote