filmov
tv
Exception handling in C++ (How to handle errors in your program?)

Показать описание
📚 Learn how to solve problems and build projects with these Free E-Books ⬇️
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.
I use it to enhance the performance, features, and support for C, C#, and C++ development in Visual Studio.
It is a powerful, secure text editor designed specifically for programmers.
An exception in C++ usually represents an error (exceptional situation) that can happen during the execution of our program.
We use exception handling in order to handle those errors that can happen during the execution of our program.
In this video, I'll teach you how to handle errors in your program and how to work with exceptions on a real-life example.
You'll learn about keywords that are used to work with exceptions: try, catch and throw.
You'll also learn about different types of exception handlers and about default exception handler.
However, please don't feel obligated to do so. I appreciate every one of you, and I will continue to share valuable content with you regardless of whether you choose to support me in this way. Thank you for being part of the Code Beauty community! ❤️😇
Contents:
00:00 - What will you learn in this course?
02:03 - What are exceptions
08:36 - Throwing exceptions, throw keyword
11:00 - Fixing application crash with try-catch, handling exceptions
16:00 - Default exception handler
21:13 - Summary - C ++ exceptions explained in 2 minutes
Try building these apps:
Tag me on you Instagram stories:
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.
I use it to enhance the performance, features, and support for C, C#, and C++ development in Visual Studio.
It is a powerful, secure text editor designed specifically for programmers.
An exception in C++ usually represents an error (exceptional situation) that can happen during the execution of our program.
We use exception handling in order to handle those errors that can happen during the execution of our program.
In this video, I'll teach you how to handle errors in your program and how to work with exceptions on a real-life example.
You'll learn about keywords that are used to work with exceptions: try, catch and throw.
You'll also learn about different types of exception handlers and about default exception handler.
However, please don't feel obligated to do so. I appreciate every one of you, and I will continue to share valuable content with you regardless of whether you choose to support me in this way. Thank you for being part of the Code Beauty community! ❤️😇
Contents:
00:00 - What will you learn in this course?
02:03 - What are exceptions
08:36 - Throwing exceptions, throw keyword
11:00 - Fixing application crash with try-catch, handling exceptions
16:00 - Default exception handler
21:13 - Summary - C ++ exceptions explained in 2 minutes
Try building these apps:
Tag me on you Instagram stories:
Комментарии