Exercise #9

Out: Monday October 28, 2013
Due: Wednesday October 30, 2013 by 11:15am.


This exercise is about understanding some existing code - you don't write any new code.

The file /cse/courses/cse333/13au/ex10.tar.gz (on department machines like attu) contains a slightly more annotated version of the code we started looking at in class today. That code prints messages when constructors, destructors, or assign operators are invoked (as well as at other times). You should run the code and make sure you can understand why each line of its output appears (and possibly why no other lines that you might have expected do not appear).

Having done that, hand in a file that contains all and only those lines of output that are caused by executing this line in main.cc

  returnedVal = sub(local_clone);

Operational Notes:

You should submit your exercise to the course dropbox.