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.
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 ^^
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?
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.
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: th-cam.com/video/8gZNFt0YEZI/w-d-xo.html
The first video that actually explained what was that goddamn e.
true
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.
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 ^^
The best video on exception handling for sure. Short 15 min, but covers almost everything !!
this was the best explanation explaining all scenarios without having to deep dive into other elements that we maybe unfamiliar with atm, thanks.
This is the most straight forward tutorial for simple try and catch! Thanks
Excellent video! Straight to the point, with different examples. Thank you!
As always, useable information with no filler! 👍
Thank you for the positive feedback Lucas! :-)
@@PortfolioCourses Thank you Mr.Kevin , love and praises from russia sir
Thank you Mr. Kevin. It was quite efficient video for me.
bro you are awesome, i watch your vids on 1.25x before and after i read the chapters. im crushing it .... many thanks
You've explained it really well. Link to the cpp reference was also helpful. Thanks!
I’m glad you enjoyed the explanation, and you’re welcome! :-)
The beauty of C++!
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?
Thank you very much, your video was very informtional and straight to the point, also your method of explenation is phenominal.
You’re welcome, I’m glad you liked the style of content! :-)
Before searching i was hoping you made this video after adding chennal, the video show up, am so happy.
I’m glad to hear that Abubakar! :-) If you ever have ideas for topics that you think I should cover please let me know.
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.
Great Tutorial.❤❤
I'm glad you enjoyed it Sukriti! :-)
Legend sir 🫡
Thanks for making these tutorials
You're welcome Akshay! :-)
Where is the sample for - Exception handling in Deleting List of objects on heap ??????
can you make some videos about dynamic and static type casting, it would be a big help
is `using namespace std;` not considered a bad practice?
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: th-cam.com/video/8gZNFt0YEZI/w-d-xo.html
@@PortfolioCourses thanks. I will give it a try!
e 3:35