hi Guys,
i basicly want a class that has no default constructor as a data member of another class. something like this:
my question: can it be done?Code:class A
{
public:
A( int x );
};
class B //other class
{
private:
A objectA;
public:
B( int x );
};
A B::objectA = A( 0 );
i would appreciate any help