Didn't get: I wish you would give us source programming examples. Is assert a mechanism for exceptions?.
One minute response: Example will show up in the next lecture. Assertions are usualy programmed to abort, but it depends on the implementation. In Java failed assertions throw an exception.
Didn't get: The handwriting is difficult to understand. Assignment instruction is too brief.
One minute response: 'Tis true, my handwriting is bad; that's why I' moving to slides. As for the assignment, ask questions.
Didn't get: [?] diff is assign.
Didn't get: Exceptions are most difficult.
One minute response: They are, than that's a problem with them.
Didn't get: It was easy and clear.
Didn't get: The copy constructor for vectors; the difference-type for vectors; exceptions.
One minute response: The copy constructor creates a new vector that is a copy of the old vector; it's just like any other class's copy constructor. Subtracting one iterator from another tells you how many elements are in the range defined by the two iterators; the type of the count is difference_type.
Didn't get: It's easy to understand the course this week because of the good examples.
One minute response: Thanks.
Didn't get: It was understandable.
Didn't get: Exceptions took more time to understand.
One minute response: Yup, them's exceptions; it's even worse trying to understand somebody else's exception code.
Didn't get: How not to throw exceptions; not to exit a program and still return an error.
One minute response: As their name suggests, exceptions should be used only in exceptional circumstances (unfortunately, now you have to figure out what an exceptional circumstance is).
Didn't get: It seems ok to understand but not sure when actually implementing it.
One minute response: And that's why implementing it is the best way to understand it.
Didn't get: Most difficult was exceptions and how they work.
This page last modified on 13 February 2003.