Exception Handling | Try, Throw and Catch | C++ in Tamil | Logic First Tamil

Поделиться
HTML-код
  • Опубликовано: 29 мар 2021
  • Using Try,throw and catch. Standard Exceptions in C++ with example.
    C Interview program playlist,
    • C Interview Programs i...
    C programming in one video,
    • C Programming in Tamil...
    C programming playlist
    • Introduction to C prog...
    C++ Playlist link
    • C++ Programming in Tamil
    English channel link,
    / @logicfirst31

Комментарии • 22

  • @sakthiveld3835
    @sakthiveld3835 3 года назад +3

    I memories this during practicals.
    But now i understand it.
    Thanks.

  • @programmingloop1603
    @programmingloop1603 2 года назад +2

    thankyou mam your information is very useful to me ,thanks a lot........

  • @SAKSHIKUMARIP
    @SAKSHIKUMARIP 2 года назад +1

    Superbbb explanation mam..u deserve more likes

  • @user-pv1ph9pq2s
    @user-pv1ph9pq2s Год назад +1

    Its very useful..

  • @krishna_3406
    @krishna_3406 22 дня назад

    thank you mam

  • @vjkumar3121
    @vjkumar3121 2 года назад +4

    I got a job as software developer... Thanks for all your videos in Tamil...

  • @Nivedha_
    @Nivedha_ 7 месяцев назад

    Thankyu sm😩

  • @AjayKumar-ls8oi
    @AjayKumar-ls8oi 3 года назад +3

    Mam.this example can also done by if else statements.so what is the difference?and which is better option?

    • @LogicFirstTamil
      @LogicFirstTamil  3 года назад +1

      Same cannot be done by if. You cannot throw and catch within if. You can only print error msg. Whereas within try you are "handling" the exception

  • @karthikvijayakumaar.k6981
    @karthikvijayakumaar.k6981 Месяц назад

    Catch(exception &e) compiler error kattudhu akka

  • @sathishg3636
    @sathishg3636 2 года назад

    Akka it is mandatary to use header file sollunga pls..

  • @laxmic3560
    @laxmic3560 3 года назад

    Hello Mam,
    For the below code i am getting output like this:
    "terminate called without an active expression".program returned 3.
    But the cout inside the catch block was not printed.why the statement inside catch block was not printed?
    int main()
    {
    int a,b;
    a=15;b=0;
    try{
    if(b==0)
    throw;
    cout

    • @LogicFirstTamil
      @LogicFirstTamil  3 года назад +1

      You should add some value after throw. You can use simply throw for standard exceptions

    • @user-tu4km8kc6l
      @user-tu4km8kc6l Год назад

      Where this exception handling in used in real world application in c++

  • @paulpandi50
    @paulpandi50 3 года назад

    Please zoom in for better vision

  • @tamilidiotbox9071
    @tamilidiotbox9071 3 года назад

    Mam how to code block download dark themes download

    • @LogicFirstTamil
      @LogicFirstTamil  3 года назад +2

      search for code block dark theme in youtube and follow the instructions in the tutorial

    • @tamilidiotbox9071
      @tamilidiotbox9071 3 года назад

      @@LogicFirstTamil thanks