Exception Handling | C++ Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024

ความคิดเห็น • 30

  • @WicCaesar
    @WicCaesar 5 หลายเดือนก่อน +15

    The first video that actually explained what was that goddamn e.

  • @programandoconian
    @programandoconian 11 หลายเดือนก่อน +4

    This is the most straight forward tutorial for simple try and catch! Thanks

  • @AndreasAn
    @AndreasAn 8 หลายเดือนก่อน +7

    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 ^^

  • @theawesomeassem3816
    @theawesomeassem3816 2 หลายเดือนก่อน

    Thank you very much, your video was very informtional and straight to the point, also your method of explenation is phenominal.

    • @PortfolioCourses
      @PortfolioCourses  2 หลายเดือนก่อน

      You’re welcome, I’m glad you liked the style of content! :-)

  • @AkshayRaj10
    @AkshayRaj10 ปีที่แล้ว

    Thanks for making these tutorials

  • @badassopenpolling
    @badassopenpolling 7 หลายเดือนก่อน

    Where is the sample for - Exception handling in Deleting List of objects on heap ??????

  • @md.iqbalmahamudmoon3012
    @md.iqbalmahamudmoon3012 ปีที่แล้ว

    can you make some videos about dynamic and static type casting, it would be a big help

  • @uomolercio
    @uomolercio หลายเดือนก่อน

    e 3:35

  • @bachoundaseddik250
    @bachoundaseddik250 4 หลายเดือนก่อน +1

    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?

  • @lumguerra
    @lumguerra 5 หลายเดือนก่อน +3

    Excellent video! Straight to the point, with different examples. Thank you!

  • @lucasgroves137
    @lucasgroves137 ปีที่แล้ว +8

    As always, useable information with no filler! 👍

    • @PortfolioCourses
      @PortfolioCourses  ปีที่แล้ว +1

      Thank you for the positive feedback Lucas! :-)

    • @F.O.U.N.D.E.R
      @F.O.U.N.D.E.R 7 หลายเดือนก่อน

      @@PortfolioCourses Thank you Mr.Kevin , love and praises from russia sir

  • @yigitcoban9823
    @yigitcoban9823 ปีที่แล้ว +4

    Thank you Mr. Kevin. It was quite efficient video for me.

  • @joshisushant
    @joshisushant 4 หลายเดือนก่อน +1

    The best video on exception handling for sure. Short 15 min, but covers almost everything !!

  • @Rojfos
    @Rojfos ปีที่แล้ว +2

    You've explained it really well. Link to the cpp reference was also helpful. Thanks!

    • @PortfolioCourses
      @PortfolioCourses  ปีที่แล้ว +1

      I’m glad you enjoyed the explanation, and you’re welcome! :-)

  • @desvendandoornasaude4127
    @desvendandoornasaude4127 หลายเดือนก่อน

    The beauty of C++!

  • @technicalmaster-mind
    @technicalmaster-mind 4 หลายเดือนก่อน

    Legend sir 🫡

  • @sukritiguin5637
    @sukritiguin5637 ปีที่แล้ว +2

    Great Tutorial.❤❤

  • @dopetag
    @dopetag 4 หลายเดือนก่อน

    is `using namespace std;` not considered a bad practice?

    • @PortfolioCourses
      @PortfolioCourses  4 หลายเดือนก่อน

      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

    • @dopetag
      @dopetag 4 หลายเดือนก่อน

      @@PortfolioCourses thanks. I will give it a try!

  • @sabaresand7309
    @sabaresand7309 9 หลายเดือนก่อน

    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.

  • @joymakerRC
    @joymakerRC 11 หลายเดือนก่อน

    bro you are awesome, i watch your vids on 1.25x before and after i read the chapters. im crushing it .... many thanks

  • @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.