c++ variable visibility
<p>PLEASE READ THE SECOND EDIT FIRST.</p>

<p>I am looking for books or websites that explain in detailed the c/c++ memory management models.  One of the things I am trying to understand is:</p>

<pre><code>namespace A {
    SomeClass A;
}
</code></pre>

<p>vs</p>

<pre><code>namespace A {
    static SomeClass A;
}
</code></pre>

<p>vs</p>

<pre><code>SomeClass A;
</code></pre>

<p>vs</p>

<pre><code>static SomeClass A;
</code></pre>

<p>Thank you very much.</p>

<p>EDIT:
Sorry for the confusion, I mixed the concepts together, and asked the wrong questions.  </p>
