Beruflich Dokumente
Kultur Dokumente
DATE:
TIME:
DURATION:
DUE DATE:
INSTRUCTIONS:
This assignment will assess your understanding of operator overloading. Respond substantively to
all parts of the question.
DATE:
TIME:
DURATION:
DUE DATE:
INSTRUCTIONS:
Computer Programming II – C++
throw;
Where would you normally expect to find such a statement? What if that statement
appeared in a different part of the program? (5 marks)
2. Compare and contrast exception handling with the various other error-processing schemes.
(5 marks)
3. Write a program that demonstrates several exception types being caught with the
catch(...) exception handler. (10 marks)
4. Write a program that illustrates rethrowing an exception. ( 10 marks)