Operator '.' vs '->' in C++
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1238613/what-is-the-difference-between-the-dot-operator-and-in-c">What is the difference between the dot (.) operator and -&gt; in C++?</a>  </p>
</blockquote>



<p>What is the difference btn the two? When do you use one instead of the other?</p>

<p>There was once I tried to use '->' instead of '.' and I got "left operand has 'class' type, use '.'" error, what does it mean?</p>
