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
I memories this during practicals.
But now i understand it.
Thanks.
thankyou mam your information is very useful to me ,thanks a lot........
Superbbb explanation mam..u deserve more likes
Its very useful..
thank you mam
I got a job as software developer... Thanks for all your videos in Tamil...
congrats
Entha company bro 💖 congratulations
Thankyu sm😩
Mam.this example can also done by if else statements.so what is the difference?and which is better option?
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
Catch(exception &e) compiler error kattudhu akka
Akka it is mandatary to use header file sollunga pls..
why dont u give n try
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
You should add some value after throw. You can use simply throw for standard exceptions
Where this exception handling in used in real world application in c++
Please zoom in for better vision
u mean output?
Mam how to code block download dark themes download
search for code block dark theme in youtube and follow the instructions in the tutorial
@@LogicFirstTamil thanks