I saw some code here and somebody decaled a type like:

POINT pt;

Now here accessed the "x" value in the variable pt like this:

switch(pt -> x)

Can I write the samething as:

switch(pt.x)

Is there any difference when you use "->" and "." ?