How to pass parameters to a constructor?
<p>I've got a class A, which consists of objects B and C. How to write a constructor of A that gets B and C objects? Should I pass them by value, by (const) reference, or a pointer? Where should I deallocate them?</p>

<p>I thought about pointers, because then I could write:</p>

<pre><code>A a(new B(1,2,3,4,5), new C('x','y','z'))
</code></pre>

<p>But I don't know whether it's a good practice or not. Any suggestions?</p>
