C++ Exception Handling | Learn Coding

preview_player
Показать описание
C++ full course 👇

c++ programs using classes 👇

Don't forget to tag our Channel...!
#ExceptionHandling
#CppProgramming
#cppprogramming
#LearnCoding

Content:-
---‐---‐--------------
Voice 🔊:- Akhilesh
Writer ✍️:- Ankush

-------------------------------------
Thank You 😊
-------------------------------------
Рекомендации по теме
Комментарии
Автор

Thank you sir ❤
You explain very good❤
I understand your explanation very well

SBZ
Автор

1:19 kya talent hai boy se boy ka face😂😂

strotjain
Автор

everything is temporary but Ankush and Akhilesh is permanent

Alexa-yz
Автор

int main(){

int a = 10, b = 2;
try{
if(b == 0){
throw invalid_argument("not devide");
}
int res = a/b;
cout << res;
}
catch(exception& e){
cout << e.what();
}

}

Edit-sigma
Автор

Your every video helps me in my exams.

ayushijoshi
Автор

Sir ji ye exception handling kuch smj nhj aya h definition yadd ho gya h but program smj nhi aya h

virtual_space
Автор

Sir Error Handling And Expection Handling Ak hi h kya

bobbyrani
Автор

Sir i requested tally basic all concept you pls upload karo

VinayThakur-mgtg
Автор

Sir g machine or assembly language bhi samjha dein kal paper ha

Abdul_hadi.
Автор

#include <iostream>
#include <stdexcept>
using namespace std;

int main ()
{
try{
int a=10, b=0;
int c= a/b;

if(c==0 ){
throw runtime_error("invalid error");
}
else {
cout << c<< endl;
}
}
catch(exception& e){
cout << e.what();
}
return 0;
}

_toxic
Автор

Sir ji sql ka 1 question hai....
Field create karni hai hame ID, Name, Address, long, Date...
Aab table kese create karu <long int(10), > yaha error aa rahi hai
As it is print kese Kare?

brmakrelaxing
Автор

Your every explanation is explicit but this time is implicit..you must had to take the last example first to make understand better.

sudhanshukumar
Автор

aaj exam hai or mai yahi se taiyaari kar raha ha hu...

Theory ki...

manishshukla
Автор

#include <iostream>

int main() {
try {
int a = 10;
int b = 0;
int c;

if (b == 0) {
throw std::runtime_error("Division by zero is not allowed.");
}

c = a / b;

// Rest of the code if no exception occurs

std::cout << "Result: " << c << std::endl;
} catch (const std::exception& e) {
std::cerr << "Exception caught: " << e.what() << std::endl;
}

return 0;
}

Sufiyan_Sanderwale
Автор

Sir baqi sb concept apki video sy smjh aty ya Wala Thora simple kr k smjhain plz

chfadi
Автор

3:12 no insect was harmed during the make of this video...

amanRG
Автор

Sir ye exception handling kuch samaj nahi aaraha he thoda simple and short example leke samjhaye please

vidyamashere
Автор

Sir invalid was not declared in this scope error aa raha hai

RituSaxena-esxj
Автор

Sir last wala nai Ara karne aap karrao na try catch throw ka plz😢😮

MohdArfath-vbdk
Автор

Sir vi boy likh k face banate hai, mai vi school me aise hi krta tha 🙂

ayushrana
join shbcf.ru