C++ method calls from the same class
<p>In C++, I want to be able to call a method in the same class without creating an object of the whole class. The class is huge and I do not want to create a huge memory location for an object. I am used to programming in C#.</p>

<p>In C# I could do this</p>

<pre><code>class test()
{
 private void A()
 {
    B();
 }

 private void B()
 {
    doSomething;
 }
}
</code></pre>

<p>in C++ I am under the impression I have to do.</p>

<pre><code>class test()
{
  public:
         static void A();
         void B();
};


 void test::A()
 {
    test t;
    t.B();
 }

 void test::B()
 {
    doSomething;
 }
}
</code></pre>

<p>I do not want to make B() static nor do I want to create and object of test because in reality my class is a lot larger than this, and creating a object of the class would use memory that I do not want to. </p>

<p>Is there a way I can accomplish what I could in C# in C++?</p>
