Ch6-3 and 6-4 VectorCopy
Why does the following program fragment not work? vector u(10,100); vector v; copy(u.begin(), u.end(), v.begin());
Exercise 6-4 Correct the program in the previous exercise to copy from u into v. There are at least two possible ways to correct the program. Implement bothm,m and describe the relative advantages and disadvantages of each approach.