title: Difference between classes and namespaces?
body: <p>I'm looking at namespaces and I don't really see a difference between these and classes.
  I'm teaching myself C++ I've gotten several books online, so I know I'm not learning the most effectively. Anyway, can someone tell me the difference between the two, and what would be the best time to use a namepace over a class? Also, I don't see much about structs in the book I'm reading.</p>
  <p>Is this the format?</p>
  <pre><code>struct go
  {
  
    goNow(){ cout &lt;&lt; &quot;go Now&quot;};
  
  }
  </code></pre>
  <p>Thanks in advance for your assistance.</p>