title: C++ Classes - dot notation vs pointer
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://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's the difference between using dot notation and the pointer way? </p>
  
  <p>Instantiating an object with or without a pointer.</p>
  
  <p>Instantiate w/o a pointer = then use dot notation </p>
  
  <p>Instantiate w/ a pointer = then use -> </p>
  
  <p>What are the differences between both? When and why should one be used over the other? </p>