C++ initializing a class member object
<p>I am new to C++, but have some experience in Java.
I would do this in Java:</p>

<pre><code>public Class SymbolTable{
   private DynHashtable&lt;String&gt; hst;
   public SymbolTable(){
      hst = new DynHashtable&lt;String&gt;();
   }
}
</code></pre>

<p>But I don't know how I can do that in C++, should I keep a pointer to DynHashtable or should I keep an Object of it, or there is no difference?? </p>
