make different instances out of the same class?
<p>header of CMain</p>

<pre><code>CSomeClass a
</code></pre>

<p>using CSomeClass inside CMain.cpp</p>

<pre><code>a.SomeFunction();
a.m_bVar = SomeVar;
</code></pre>

<p>the question is, how do i get a different, second instance of CSomeClass that uses the same varables inside CSomeClass but with their own individual values <strong>without</strong> the use of new?</p>

<p>i know <code>pSomePointer = new CSomeClass[2];</code>will make a different instance, but is it possible without using new?</p>
