Chapter7 Class and Objects Part2
Chapter7 Class and Objects Part2
0 0 0 0 0
In this case
Vector::Vector(constVector& a) {
create(a.nelem);
for (inti=0; i < nelem; ++i)
data[i] = a.data[i];
}