From Jonathan de Boyne Polla · 1996-04-02 06:42 · #73528 in EMULATE
TC>
> If you create a class or structure with new, ie
> class * a= new class;
> , is there any benefit in creating things in that class with 'new' or
> will it not matter?
TC>
You are asking the wrong question. The question that you should be
asking is whether your class instance has a HAS-A or a USES-A
relationship to its data. In general, you use pointer data members for
HAS-A, and non-pointer data members for USES-A. This pretty much
determines the way that you initialise your data members.
Your example is syntactically incorrect, incidentally. (-:
> JdeBP <___
X MegaMail 2.10 #0:
--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)