C++ Tutorials | L62: Exception handling In C++ Programming Examples | Try Catch | The Easy Concepts

145 Просмотры
Издатель
C++ Tutorials | L62: Exception handling In C++ programming Examples | Try Catch Throw | The Easy Concepts

In this tutorial, we have discussed the concept of Exception Handling in C++ using various programming examples. Exceptions are run-time anomalies or abnormal conditions that a program encounters during its execution.
C++ provides the following specialized keywords for this purpose.
try: represents a block of code that can throw an exception.
catch: represents a block of code that is executed when a particular exception is thrown.
throw: Used to throw an exception. Also used to list the exceptions that a function throws, but doesn’t handle itself.

Please watch the full video to learn the concepts in more detail.

Learn Computer Science Concepts in an Easy Way !!

Website - http://www.theeasyconcepts.com/
Facebook - https://www.facebook.com/theeasyconcepts/
Twitter - https://twitter.com/theeasyconcepts
GitHub - https://github.com/deepakuniyaliit/OOP
LinkedIn - https://www.linkedin.com/in/deepak-uniyal-592b7545/
Telegram - https://t.me/theeasyconcepts
Категория
Язык программирования C++
Комментариев нет.