how to write a constructor...
- by Nima
is that correct to write a constructor like this?
class A
{
A::A(const A& a)
{
....
}
};
if yes, then is it correct to invoke it like this:
A* other;
...
A* instance = new A(*(other));
if not, what do you suggest?
Thanks