Exception Handling in C++ Programming

Sdílet
Vložit
  • čas přidán 19. 06. 2024
  • Support Simple Snippets by Donations -
    Google Pay UPI ID - tanmaysakpal11@okicici
    PayPal - paypal.me/tanmaysakpal11
    --------------------------------------------------------------------------------------------- An exception is an unexpected problem that arises during the execution of a program.
    Exception handling mechanism provide a way to transfer control from one part of a program to another. This makes it easy to separate the error handling code from the code written to handle the actual functionality of the program.
    C++ exception handling is built upon three keywords: try, catch, & throw.
    try : A block of code which may cause an exception is typically placed inside the try block. It’s followed by one or more catch blocks. If an exception occurs, it is thrown from the try block.
    catch : this block catches the exception thrown from the try block. Code to handle the exception is written inside this catch block.
    throw : A program throws an exception when a problem shows up. This is done using a throw keyword.
    Every try catch should have a corresponding catch block. A single try block can have multiple catch blocks.
    Exception Handling in C++ Theory Article - simplesnippets.tech/cpp-excep...
    Download Dev C++ IDE : sourceforge.net/projects/orwe...
    Download C++ Android App : play.google.com/store/apps/de...
    Simple Snippets Official Website -
    simplesnippets.tech/
    Simple Snippets on Facebook-
    / simplesnippets
    Simple Snippets on Instagram-
    / simplesnipp. .
    Simple Snippets Google Plus Page-
    plus.google.com/+SimpleSnippets
    Simple Snippets email ID-
    simplesnippetsinfo@gmail.com
    For Classroom Coaching in Mumbai for Programming & other IT/CS Subjects Checkout UpSkill Infotech - upskill.tech/
    UpSkill is an Ed-Tech Company / Coaching Centre for Information Technology / Computer Science oriented courses and offer coacing for various Degree courses like BSc.IT, BSc.CS, BCA, MSc.IT, MSc.CS, MCA etc.
    Contact via email /call / FB /Whatsapp for more info
    email - upskillinfotech@gmail.com
    We also Provide Certification courses like -
    Android Development
    Web Development
    Java Developer Course
    .NET Developer Course

Komentáře • 205

  • @SimpleSnippets
    @SimpleSnippets  Před 4 lety +15

    Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more video content just for you ✌

  • @monishas110
    @monishas110 Před 3 lety +62

    My exam is exactly after 3 hours and you just saved my 20 marks !
    Thanks a ton man !

    • @SimpleSnippets
      @SimpleSnippets  Před 3 lety +6

      Glad it helped! Please do share the videos and channel with your friends too. Thats the biggest help and support you can give back to our channel!

    • @monishas110
      @monishas110 Před 3 lety +11

      @@SimpleSnippets oh dude you have no idea.. me and my squad just promoted your channel to the whole IS department because we all were able to score full on this topic that day !!
      Bro keep posting more videos

    • @SimpleSnippets
      @SimpleSnippets  Před 3 lety +11

      Wow that's amazing! I'm so glad to hear this man. This is what motivates me to keep making more content for everyone 🤟😊

  • @galfrasian
    @galfrasian Před 5 lety +12

    A huge respect for this guy. Kudos man, I am now getting a clear example of exception handling.

    • @Bastiondar
      @Bastiondar Před 5 lety +1

      Same. I've read numerous books and tutorials on it, but this gave me a clear example of what throw and catch are actually doing.

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety +1

      Thank you buddy 🤟 I'm glad I could make this topic easy 😊

  • @henryzheng6722
    @henryzheng6722 Před 4 lety +1

    Awesome stuff as always! Thanks man!

  • @patrickmayer9218
    @patrickmayer9218 Před 2 lety +7

    *Exceptions are unexpect problems.
    *Exception handling allows you to transfer control from one part of the program to another.
    *In C++, there are three keywords that handle exception handling: try, catch, and throw.
    *Try - A block of code containing other code that could potentially have an exception.
    *Catch - Handles the exception with some sort of solution.
    *Throw - Can be added anywhere after some kind of exception condition.

  • @aryanblessed
    @aryanblessed Před 3 lety +1

    Excellent Explanation!! Thank you very much!! 🙏

  • @shradhachhajed
    @shradhachhajed Před 5 lety +3

    Thank you sir this video really cleared my concept for exception handling

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety +1

      Most welcome Shradha. I'm happy to hear this from you. I would request you to please share the video with your friends too ✌️😊

  • @anshuprakash5022
    @anshuprakash5022 Před 5 lety +4

    awesome bhai,thanks a lot,finally i get crystal clear with this example!!!!

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety

      Hey buddy, thank you so much for the positive comment buddy. Happy to hear this. Please share the video with your friends too 😇✌️

  • @geohil3164
    @geohil3164 Před rokem

    Thank you, brother! This was a brilliant tutorial.

  • @rdxgaurav3483
    @rdxgaurav3483 Před rokem

    Perfect and simple explanation, Thanks buddy!!!!

  • @supreetlaghate22
    @supreetlaghate22 Před 4 lety +16

    hi brother. Please add finally() final() finalize() methods also in addition to this concept.. :)

  • @LonleyGuns
    @LonleyGuns Před 4 lety +3

    Awesome tutorial. You helped me a lot.

  • @suvetha9414
    @suvetha9414 Před 4 lety +31

    The best explanation ever! A huge thanks to u😍

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      Thank you so much buddy, really glad to hear this from you. Please do subscribe to this channel & share the content with your friends too. That will be the biggest help & support 😇

  • @sydneylee823
    @sydneylee823 Před 4 měsíci

    this is a great video! thank you so much!!

  • @groundreality1134
    @groundreality1134 Před rokem

    Loved it! ☺️

  • @arnavg7789
    @arnavg7789 Před 3 lety +2

    bro u killing it!!!thanks!!

    • @SimpleSnippets
      @SimpleSnippets  Před 3 lety +1

      Thanks buddy! Please do share the videos and our channel with your friends if you want to genuinely support me & our channel!✌😇

  • @rahulsony2329
    @rahulsony2329 Před 2 lety

    Thank You Well Explained

  • @user-rj2cx9lc4t
    @user-rj2cx9lc4t Před rokem

    Truly osm bhayyaa... Tq

  • @aadarshdhiman7768
    @aadarshdhiman7768 Před 2 lety

    Thank You So much!! It was really helpfull in such short time

  • @tokiniki1643
    @tokiniki1643 Před 3 lety +3

    wouldn't a simple while (denominator == 0) loop that continues asking for input of the denominator without ending the program been a better solution than a try and catch solution that ends the program?

  • @lemina-gj8yd
    @lemina-gj8yd Před 3 měsíci

    I just love you , thanks

  • @ebullientphoenix4929
    @ebullientphoenix4929 Před 2 lety +1

    Thank you so much bro🍀

  • @agent671
    @agent671 Před 6 měsíci +1

    bro ur english fluency and clarity impresses mee

  • @hardikbhagat2473
    @hardikbhagat2473 Před 4 lety +6

    What if we tried to write an exception handling code by simply using if-else conditionals? Is it going to cause more time complexity/memory usage?

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      If its a small program it doesn't matter much ✌

  • @mohammadyaseen5339
    @mohammadyaseen5339 Před 4 lety +1

    i have watched many video of c++ but i didnot find any video usefull...... but your video are awesome bro ....best explaination ever ... thank you

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety +1

      Glad you liked it buddy. Very happy to hear this. Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

    • @mohammadyaseen5339
      @mohammadyaseen5339 Před 4 lety

      @@SimpleSnippets yes sure bro. but make one another video on fstream anothers functions that how they work

  • @akshimmu
    @akshimmu Před 3 lety

    Are stack variables initialised to 0 by default? Only global variables are guaranteed to be 0 init right?

  • @kyleleblancvlogs3820
    @kyleleblancvlogs3820 Před 4 lety

    Excellent explanation thank you. Need3d a quick refresher

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety +1

      Thanks buddy, glad to hear this from you. Please do share it with your friends too. That's the biggest help & support 😊

  • @wardoonacademy
    @wardoonacademy Před 4 lety +3

    good explanation, Thank you Sir.

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety +2

      Thank you so much buddy. Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

    • @wardoonacademy
      @wardoonacademy Před 4 lety

      @@SimpleSnippets Yes ofcourse I will do that, Keep on sir, you are doing a great job, by helping IT students like me who want additional explainatory lessons.

  • @wegojim732
    @wegojim732 Před 2 lety

    Thankyou sir , you're a life saver 🚀💛

  • @technicalburner2489
    @technicalburner2489 Před 2 lety +1

    What if we simply do if denominator ==0 cout divisom not possible
    Else result =........ ???
    Then we dont need na exception handling concept

  • @gauripawar356
    @gauripawar356 Před 3 lety +4

    Hey Tanmay, We want more videos on exception handling...it's other concepts...could you plz make more videos on it? 😃

  • @sukanyachakraborty2465

    Wow!! Thankuuuu so much 😍

  • @deadlygaming3622
    @deadlygaming3622 Před 4 lety

    Nice work dude

  • @botxcr
    @botxcr Před rokem +4

    Not in my whole college life I understood this until now. Thanks man really appreciate it.

  • @Gandhiboy
    @Gandhiboy Před 3 lety +1

    Thank you so much ❤️

  • @duh...389
    @duh...389 Před 8 měsíci +1

    Daamnn, that was a very good explanation man,Kudos, you've saved my exam

  • @lonewolfcoding5208
    @lonewolfcoding5208 Před rokem

    is try catch can handle all errors like memory leaks buffer because of pointers?

  • @DigitalMazdor
    @DigitalMazdor Před 5 lety +1

    Amazing bro

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety

      Most welcome buddy 😇 I would request you to please share the video with your friends too ✌

  • @kunalpadwal3957
    @kunalpadwal3957 Před 3 lety +1

    sir can you please tell why the default value of result is zero?

  • @kevinmillones7360
    @kevinmillones7360 Před 5 lety +1

    Thank you so much I understand it better now!

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety +1

      Most welcome Kevin. Would be great if you'd share it with your friends as well 😇✌️

    • @kevinmillones7360
      @kevinmillones7360 Před 5 lety +1

      Simple Snippets I already did!☺️ are you planning to upload any swift tutorials or advanced c++ tutorials?

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety +1

      Thank you so much buddy ❤️
      Umm not really. Already have way too many topics to be covered in line 😓😅 but sure maybe in future I'll cover advance parts ✌️😇

    • @kevinmillones7360
      @kevinmillones7360 Před 5 lety +1

      Simple Snippets no problem!❤️ thank you for all you do. I’m writing a notebook with all your tutorials to help me review and teach myself c++ gonna do the same for Java!

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety

      Oh that's cool. Super happy to hear this from you Kevin. Means a lot to me 😇
      Keep up the support ✌️

  • @sheetaljain3569
    @sheetaljain3569 Před 4 lety +6

    thanks brother,all was well but I also wanted to know types of exception and what are difference between them

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      Good question sheetal, here is a link to all the different types of exceptions & more theory details - simplesnippets.tech/cpp-exception-handling/

  • @gouravm4986
    @gouravm4986 Před 2 lety

    Thank you

  • @paritosh4643
    @paritosh4643 Před 3 lety +4

    I had a doubt.
    When I typed this same program in my pc, I first made a mistake of typing the *result=n/d;* line before our *If statement.* (inside the try block)
    The code in the catch block did not get executed but the program also didn't crash, I was simply getting a blank as the output, what could have happened?
    When I run the same program without any try catch blocks, the program stops and crashes. That didn't happen but the catch code also didn't get executed.

  • @dishyanthtkr2548
    @dishyanthtkr2548 Před 5 lety +1

    great and good work

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety

      Thanks buddy 😇 means a lot to me. Please do share the video with your friends and contacts ✌️😋

  • @harisshakeel6761
    @harisshakeel6761 Před rokem

    Can this be used if string or char is entered in a integer variable?

  • @robertgreen7786
    @robertgreen7786 Před 4 lety

    How would I handle a non integer being entered? Let's say I entered the letter A instead of a number.

  • @ridimamittal4064
    @ridimamittal4064 Před 2 lety

    ❤️❤️❤️thank you !

  • @anubhav0355
    @anubhav0355 Před 4 lety +1

    Wonderfully explained .

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety +1

      Thank you so much buddy, Please do share this video with your friends too. Thats the biggest help and support 🙂

    • @anubhav0355
      @anubhav0355 Před 4 lety +1

      @@SimpleSnippets sure.
      Are there more videos on exceptional handling on this channel?

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety +1

      @@anubhav0355 I don't think so, but you can check the playlists and explore more 😇🤘

    • @anubhav0355
      @anubhav0355 Před 4 lety +1

      @@SimpleSnippets yeah sure 🙂

  • @ritikabali6466
    @ritikabali6466 Před 3 lety

    well explained

  • @masumali8356
    @masumali8356 Před rokem

    you are the best.......masum

  • @mahesh-jg3zx
    @mahesh-jg3zx Před 5 lety +1

    Thanks you very much sir your notes was helping me a lot

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety +1

      Most welcome my friend ✌️😊 I would request you to please share the videos with your friends 😋

    • @mahesh-jg3zx
      @mahesh-jg3zx Před 5 lety +1

      @@SimpleSnippets definitely sir but you are not answered my question, why we use scope resolution

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety +1

      Here's some info - www.tutorialspoint.com/Scope-resolution-operator-in-Cplusplus

    • @mahesh-jg3zx
      @mahesh-jg3zx Před 5 lety

      Thanks you sir

  • @manisha9742
    @manisha9742 Před 3 lety

    Ji what app your using for c++....????

  • @roshanphilipjacob1302
    @roshanphilipjacob1302 Před 3 lety

    Thank you :)

  • @khushtarmasood8748
    @khushtarmasood8748 Před 5 lety

    But if user enter denominator as alphabets or special symbol then how can this program work ...u have to put some condition for alphabets and special symbol also ...if u found the logic then rply me

  • @nidhidubey1312
    @nidhidubey1312 Před 6 lety +1

    I want to ask one thing that I also write exceptionhandling in dev c++ because it wasn't working turbo c++ but I write iostream without .h but my teacher doesn't understand and deduct my marks because I didn't wrote .h. How do I explain her that I am right

    • @SimpleSnippets
      @SimpleSnippets  Před 6 lety

      +Nidhi Dubey You show her/him your code on Dev C++ IDE and show that it works. If she/he doesnt agree then no one can help it here. See turbo C++ and Dev C++ are 2 different IDEs with different compilers thus that difference.
      here's what I found as the basic difference : www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0ahUKEwikpqLT3vLWAhWCqo8KHbt5Au8QFggoMAE&url=https%3A%2F%2Fdiscuss.codechef.com%2Fquestions%2F48899%2Fdevc-help&usg=AOvVaw1p-aUSZiqQNlCLHoR2Ocrk
      see if your code is working then your professor should give you the marks.

  • @harilodhi6798
    @harilodhi6798 Před 3 lety +1

    thanks bro you helped me alot

    • @SimpleSnippets
      @SimpleSnippets  Před 3 lety +1

      Glad I could help. Please do share the videos and our channel with your friends if you want to genuinely support me & our channel!✌😇

    • @harilodhi6798
      @harilodhi6798 Před 3 lety

      @@SimpleSnippets ok bro definately I will share

  • @rakhshandamujib2793
    @rakhshandamujib2793 Před 5 lety +2

    Hey, thanks for the tutorial, I loved it.
    Just tell me one thing, when we have multiple exceptions, we need to have corresponding number of catch block. What my understanding says, after reading the books, is that whenever there are multiple exceptions, the datatype of the argument of the catch is matched with that of the exception thrown. Now, my question is, there are hardly 4-5 different types of datatypes in general so does that mean we can only handle that many exceptions explicitly?
    Isn't that a bit silly?

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety

      I didn't really get your question. There are many different types of exceptions. Also exceptions are objects so like if the parent class is exception and then we have different child classes. So if you want to handle multiple exceptions (which are many btw not a few and they're not basic data types) you can use one single parent exception class to handle them all ✌️

  • @salmasulthana5764
    @salmasulthana5764 Před 5 lety +1

    Thanks for uploading this video it is very helpful ....

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety +1

      Most welcome 😁
      Please do share it ✌️

    • @salmasulthana5764
      @salmasulthana5764 Před 5 lety +1

      Of course iam sharing this video to my class mates... they will understand it better rather than regular classes

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety

      Thank you so much for sharing 😊✌️
      It's the biggest help and support for the channel and everyone 😊

  • @vedantghate92
    @vedantghate92 Před 3 lety +1

    bro when we use '" throw denominator " then the denominator value is passed to the ex variable?? how 0 comes after the sentence Exception Divide by zero not allowed.???

    • @viratriyaz2634
      @viratriyaz2634 Před 3 lety

      Bro here the dinaminator is integer type. So in the catch block inside the brockets we have use int and then any variables.

  • @dattabhabal421
    @dattabhabal421 Před 5 lety +1

    can u make a video on multiple try catch block little bit confusion in that

  • @richgirlera
    @richgirlera Před rokem +2

    Please make a video on multiple catch Blocks in exception handling 🙏🙏🙏

  • @MohamedAli-xb7kh
    @MohamedAli-xb7kh Před 4 lety +1

    Thanks sir ☺️

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      Thank you so much buddy🙏 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

  • @hinakhan1617
    @hinakhan1617 Před 5 lety +1

    Thank u so much

  • @shivatiwari1127
    @shivatiwari1127 Před 4 lety +3

    Perfect explanation.

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      Thank you so much buddy, please share the video with your friends too. Thats the biggest help and support 😇

  • @sachalraja1054
    @sachalraja1054 Před 4 lety +2

    Amazing! You are very competent...a great lecture, helped me a lot...Thanks

  • @monishshetty5140
    @monishshetty5140 Před 4 lety +1

    Awesome bro!!!

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      That's great to know Monish, please do Subscribe to our channel as we have a lot tech educational content which you'll surely like. Also please do share our channel and videos with your friends too, that's the biggest help and support you can provide buddy ✌

    • @monishshetty5140
      @monishshetty5140 Před 4 lety +1

      @@SimpleSnippets yeah I subscribed days ago

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      @@monishshetty5140 thats amazing to know. Welcome to the family 😊🤟

  • @sakshamawasthi9951
    @sakshamawasthi9951 Před 3 lety

    I wanna ask that we can simply call if statement as denominator==0; 🤔

  • @xaviourdeselva739
    @xaviourdeselva739 Před 5 lety

    Sir did I get a vedio about multiple catch exception and catch all exception

  • @orb3062
    @orb3062 Před 5 lety +1

    I use turbo c++ and an error is being shown - undefined symbol 'try' and at the same line it shows statement missing... (I checked for the missing statement but all the semicolons have been put in it's right place) what should I do ?

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety

      I don't use turbo c++. Are you missing a catch statement? There has to be a catch statement with try. ✌

    • @orb3062
      @orb3062 Před 5 lety

      @@SimpleSnippets I used a catch statement

  • @adeebalam2392
    @adeebalam2392 Před 2 lety

    Thnx

  • @avanthikaviswanathan4156

    thankyou

  • @rajdulari_tadwal4912
    @rajdulari_tadwal4912 Před 3 lety +1

    Yes understood....thnk u :)

  • @paul87173
    @paul87173 Před 4 lety +3

    i like your tutorials, clear simple,good for beginners like me, thanks for your effort, i'm really grateful

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      Thank you so much Maria🙏 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

  • @koustavdey5574
    @koustavdey5574 Před 2 lety

    sir how about adding udemy courses as extracurricular courses is it worth it ?

  • @sdani9160
    @sdani9160 Před 3 lety +2

    Why can't we use a simple if else condition to check if denominator is 0

    • @punitagaba9491
      @punitagaba9491 Před 6 měsíci

      It's just example to understand concept
      this concept is for more complex problems

  • @devanshudabas3627
    @devanshudabas3627 Před rokem

    what is the role of int ex parameter in catch?

  • @kurapatiakhilkumar5314
    @kurapatiakhilkumar5314 Před 4 lety +1

    is it necessary to put "datatype 'ex' " every time.... inside the catch parenthesis

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      No you can use any other name too. Typically its kept e or ex 😇

  • @vijayvijju8625
    @vijayvijju8625 Před 3 lety

    Why this video is not available in the playlist 😩

  • @abhishekmohanty232
    @abhishekmohanty232 Před 5 lety +3

    //whats the need of try throw catch if we can do the same without using it
    #include
    using namespace std;
    int main()
    {
    int denominator,numerator,result;
    coutnumerator>>denominator;

    if(denominator==0)
    {
    cout

    • @manishpanchal9963
      @manishpanchal9963 Před 4 lety +1

      It was an easy example to explain the concept. You cannot use if else statement everytime for very large programs.

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety +3

      Absolutely correct Manish ✌️

    • @AvocadoGCC
      @AvocadoGCC Před 4 lety

      because it is a terrible example.

  • @stevenrock3489
    @stevenrock3489 Před 6 lety +5

    Can I write this all information in my exam
    If I get Exception question

    • @SimpleSnippets
      @SimpleSnippets  Před 6 lety +2

      Yes ofcourse buddy, Infact I make the video tutorials in such a way that it is easy for students to prepare for their exams. Plus if you are preparing for your answers you can also checkout my C++ course on our official website link - simplesnippets.tech/courses/cpp-programming-tutorials-for-beginners/
      Here you will find all the theory needed to prepare for C++ programming and also many other informational articles so make sure to bookmark the website 😇✌

  • @abdullahkhalid5057
    @abdullahkhalid5057 Před 4 lety +1

    video was perfect but in the end you should give us few excersice so that we can practice it

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      Thank you so much for the compliments buddy and yes more thanks for this wonderful suggestion 😇

  • @user-hr6im9xi3p
    @user-hr6im9xi3p Před 4 lety

    what will do when return value is comming in c++

  • @iqrafarooq9038
    @iqrafarooq9038 Před 4 lety +3

    More than perfect

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety +1

      Thats great to hear buddy, Please do subscribe and share our channel with your friends too! Thats the biggest help and support 😇

  • @priyankakhuspe8912
    @priyankakhuspe8912 Před 2 lety

    I've been following your videos since quite a long now. Your videos are really helpful. 😁🤟
    The only place where I faced problem was speed...maybe its just me, m always like thodasa halu bol... plsss 😅

  • @jacobashwinmathew3763
    @jacobashwinmathew3763 Před 4 lety

    how to solve the ambiguity of function overloading

  • @sumaiyashadan8450
    @sumaiyashadan8450 Před 5 lety

    sir iam unable to compile d prgrm ni turbo c++
    can u plz suggest me what changes i can make 2 execute d sme prgm in turbo c++
    plz ans me!

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety

      I think you'll just have to change that preprocessor line as - #include
      and use void main () instead of int main ()
      Also at the end of main function don't use the return 0 statement

    • @sumaiyashadan8450
      @sumaiyashadan8450 Před 5 lety +1

      +Simple Snippets
      ok thank u ..i will try it

  • @geluklu
    @geluklu Před rokem

    bro cant ı just use if statment?

  • @spurthimaddala5254
    @spurthimaddala5254 Před 4 lety

    Please make a video on stack unwinding

  • @green_gardening
    @green_gardening Před rokem

    Bro do a video on "exception classes"

  • @prakhargupta2960
    @prakhargupta2960 Před 3 lety

    Why can't I just use switch case ?

  • @adwaithkj
    @adwaithkj Před 4 lety

    just found your channel. it's amazing work. thanks for the help

  • @jonhaasnoler
    @jonhaasnoler Před 3 lety

    I dont get how this is any better than just an if and else?
    Like
    If(denom == 0)
    {
    print(error)
    }
    else
    {
    do the division
    }

  • @abdulmohyemin3548
    @abdulmohyemin3548 Před 2 lety

    sir can you make a video on threads in c++

  • @abhishekmahor6700
    @abhishekmahor6700 Před rokem

    multi threading and data collection bhi bata do please

  • @deadlygaming3622
    @deadlygaming3622 Před 4 lety

    Keep it up

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety +1

      Thanks buddy, glad to hear such a wonderful feedback from you. I hope you have subscribed to our channel. Please do share the videos with your friends too. Thats the biggest help and support you can provide ✌

  • @sajidali-gf9rt
    @sajidali-gf9rt Před 3 lety

    Instead of this I can also use if else so what the difference is

  • @ayeshali3278
    @ayeshali3278 Před rokem

    why does this thing exists, like we could do literally the same thing using if else, what's so diff about this topic

  • @sunnyjain630
    @sunnyjain630 Před 4 lety +2

    subscribed !!

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety +1

      Thats amazing to know Sunny. Welcome to Simple Snippets Family! 😇

    • @sunnyjain630
      @sunnyjain630 Před 4 lety +2

      such a lucid and clear explanationns you have given!!great

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety +1

      @@sunnyjain630 thank you brother 😇 means a lot to me🤘

  • @sailesh_nama
    @sailesh_nama Před 4 lety +1

    Gud explanation ii

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      Thanks buddy, glad to hear this from you. Please do share the videos with your friends too & definitely subscribe to our channel. Thats the biggest help and support you can provide ✌😇

  • @ognjenstevic8637
    @ognjenstevic8637 Před 3 lety +2

    You >>>>>>>> my teacher!