Exception Handling | C++ Tutorial

  Рет қаралды 23,175

Portfolio Courses

Portfolio Courses

Күн бұрын

Пікірлер
@AndreasAn
@AndreasAn 11 ай бұрын
Right now i am attending an advanced C++ Course at university. I have spent some time watching videos at youtube and most people explain exceptions while they are throwing int or strings and not objects which inherit from std::exception. Of course this will compile and work in smaller projects but when I need to code, there are bigger projects where I have to work with different developers. There you need to throw consistently to avoid weird crashes. I just wanted to mention that i watch explicitly this video as it shows catching a reference of an exception what other content creators are not doing. thanks for making serious content ^^
@WicCaesar
@WicCaesar 8 ай бұрын
The first video that actually explained what was that goddamn e.
@phantomgaming541
@phantomgaming541 2 ай бұрын
true
@sesarman
@sesarman Ай бұрын
i think it stands for exception haha, i've seen other objects used such as excpt, but when I use anything but e i get an error that it was not declared.
@lumguerra
@lumguerra 8 ай бұрын
Excellent video! Straight to the point, with different examples. Thank you!
@joshisushant
@joshisushant 7 ай бұрын
The best video on exception handling for sure. Short 15 min, but covers almost everything !!
@programandoconian
@programandoconian Жыл бұрын
This is the most straight forward tutorial for simple try and catch! Thanks
@sesarman
@sesarman Ай бұрын
this was the best explanation explaining all scenarios without having to deep dive into other elements that we maybe unfamiliar with atm, thanks.
@lucasgroves137
@lucasgroves137 Жыл бұрын
As always, useable information with no filler! 👍
@PortfolioCourses
@PortfolioCourses Жыл бұрын
Thank you for the positive feedback Lucas! :-)
@F.O.U.N.D.E.R
@F.O.U.N.D.E.R 10 ай бұрын
@@PortfolioCourses Thank you Mr.Kevin , love and praises from russia sir
@yigitcoban9823
@yigitcoban9823 Жыл бұрын
Thank you Mr. Kevin. It was quite efficient video for me.
@Rojfos
@Rojfos Жыл бұрын
You've explained it really well. Link to the cpp reference was also helpful. Thanks!
@PortfolioCourses
@PortfolioCourses Жыл бұрын
I’m glad you enjoyed the explanation, and you’re welcome! :-)
@joymakerRC
@joymakerRC Жыл бұрын
bro you are awesome, i watch your vids on 1.25x before and after i read the chapters. im crushing it .... many thanks
@AssemJoestar
@AssemJoestar 5 ай бұрын
Thank you very much, your video was very informtional and straight to the point, also your method of explenation is phenominal.
@PortfolioCourses
@PortfolioCourses 5 ай бұрын
You’re welcome, I’m glad you liked the style of content! :-)
@desvendandoornasaude4127
@desvendandoornasaude4127 4 ай бұрын
The beauty of C++!
@bachoundaseddik250
@bachoundaseddik250 7 ай бұрын
dont take it the wrong way but just asking because it was funny, did the source like a "book" you've learned from exception handling had "throw 20" as an example too?
@bakeery
@bakeery Жыл бұрын
Before searching i was hoping you made this video after adding chennal, the video show up, am so happy.
@PortfolioCourses
@PortfolioCourses Жыл бұрын
I’m glad to hear that Abubakar! :-) If you ever have ideas for topics that you think I should cover please let me know.
@michaczarnocki181
@michaczarnocki181 Ай бұрын
awesome video, what program do you use to write c++ in this video? Looks very clean and tidy
@sukritiguin5637
@sukritiguin5637 Жыл бұрын
Great Tutorial.❤❤
@PortfolioCourses
@PortfolioCourses Жыл бұрын
I'm glad you enjoyed it Sukriti! :-)
@technicalmaster-mind
@technicalmaster-mind 7 ай бұрын
Legend sir 🫡
@sabaresand7309
@sabaresand7309 Жыл бұрын
Hi sir, Thanks for this useful information could you explain why you used the virtual keyword in the "what" method during the custom exception implementation.
@AkshayRaj10
@AkshayRaj10 Жыл бұрын
Thanks for making these tutorials
@PortfolioCourses
@PortfolioCourses Жыл бұрын
You're welcome Akshay! :-)
@badassopenpolling
@badassopenpolling 11 ай бұрын
Where is the sample for - Exception handling in Deleting List of objects on heap ??????
@dopetag
@dopetag 7 ай бұрын
is `using namespace std;` not considered a bad practice?
@PortfolioCourses
@PortfolioCourses 7 ай бұрын
Using it in a library that is going to be re-used would be a bad practice, using it in a short program is not. This video explains why/when it is a bad practice: kzbin.info/www/bejne/bpi9f3mqZb54kKs
@dopetag
@dopetag 7 ай бұрын
@@PortfolioCourses thanks. I will give it a try!
@md.iqbalmahamudmoon3012
@md.iqbalmahamudmoon3012 Жыл бұрын
can you make some videos about dynamic and static type casting, it would be a big help
@uomolercio
@uomolercio 4 ай бұрын
e 3:35
Convert A String To An Int | C++ Tutorial
3:22
Portfolio Courses
Рет қаралды 12 М.
Friend Functions | C++ Tutorial
13:05
Portfolio Courses
Рет қаралды 11 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Exception handling in C++ (How to handle errors in your program?)
24:46
Multiple Inheritance Deep Dive | C++ Tutorial
14:53
Portfolio Courses
Рет қаралды 11 М.
Exception Handling - C++ Tutorial For Beginners #18
7:28
NeuralNine
Рет қаралды 26 М.
Basic Syntax for C++ - Learn to Code
9:02
Dr. Davo
Рет қаралды 85
Abstract Classes And Pure Virtual Functions | C++ Tutorial
11:05
Portfolio Courses
Рет қаралды 17 М.
Dynamic Binding (Polymorphism) With The Virtual Keyword | C++ Tutorial
9:57
Destructor Basics | C++ Tutorial
9:13
Portfolio Courses
Рет қаралды 23 М.
Back To Basics: C++ Containers
31:41
javidx9
Рет қаралды 190 М.
new & delete Operators For Dynamic Memory Allocation | C++ Tutorial
15:52
Portfolio Courses
Рет қаралды 34 М.
Exception Handling in C++ Programming
10:12
Simple Snippets
Рет қаралды 222 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН