[Solved] Basic question, what’s the difference between the . and the :: and the ->
This is what I believe they mean.
and the ::
is a way to access another object's function.
I see - > used in QT a lot. It appears to work in a similar manner, but I see it primarily used with ui->
"." is used to access a object member
"::" is used to access a class member( when a instance of class isn't necessary)
"->" is used to access a dereference a pointer to something = "(* .)"
Maybe this will help: