c++ question, about * and ->
<p>when I have a pointer like:</p>

<pre><code>MyClass * pRags = new MyClass;
</code></pre>

<p>So i can use</p>

<pre><code>pRags-&gt;foo()
</code></pre>

<p>or</p>

<pre><code>(*pRags).foo()
</code></pre>

<p>to call foo.</p>

<p>Why these 2 are identical? and what is *pRags?</p>

<p>Thank you</p>
