To access a member of the pointer, you use
pt->member
What is the other way to access the member?
Is that like this
(*pt).member
?
Printable View
To access a member of the pointer, you use
pt->member
What is the other way to access the member?
Is that like this
(*pt).member
?
It is. :)
Thanks Furby:)
If it wasn't that, then I think C++ is really *u*k*d up;)