nTo
fix this problem, we can merge the two constructors and replace
them with a single constructor:
–list::list(int size=100) {
– my_list = new
video [size];
– video_list_size =
size;
– num_of_videos =
0;
–}
–(Remember, to change the prototype for
the constructor in the class
interface)
n