Research how to catch different kinds of exceptions in c


Question: Part 1: Research

Research how to catch different kinds of exceptions in C++. Pay particular attention to using custom exception classes that inherit from std::exception.

Part 2: Modify the Area Calculation Application

Create two custom exception classes that inherit from std::exception to handle invalid dimensions for shapes (such as 0 and negative numbers). Revise the code in your program's classes and man() to use these custom exception classes.

Part 3: Describe the Application

Write a 2-3-page summary in which you complete the following:

• Explain how you handled the exceptions in the code for your application.

• Explain how your application works and any issues you encountered with the application.

• Include a screen shot of your application, using the Print Screen function, to show that your application works.

Solution Preview :

Prepared by a verified Expert
Dissertation: Research how to catch different kinds of exceptions in c
Reference No:- TGS02879494

Now Priced at $40 (50% Discount)

Recommended (92%)

Rated (4.4/5)