what does this means??

i got a question....x->y();......what does the '->' means??dont care about the x and y....:)
x->y() is basically the same as (*x).y()

It mean "call the member function y() on the object pointed to by the pointer x".
Last edited on
Topic archived. No new replies allowed.