try {
throw 10; //Error Detected and "Thrown" to catch block
}
catch (char *excp) { //if error is thrown matches this block, exec
cout << "Caught " << excp;
}
catch (...) { //default case
cout << "Default Exception
";
}
#include fuck
Code Example |
---|
Cpp :: call by value in c++ |
Cpp :: print all even number using for loop c++ |
Cpp :: char * to string c++ |
Cpp :: c++ forloop |
Cpp :: cpp |
Cpp :: Dfs program in c++ |
Cpp :: dateformat in flutter |
C :: bold text in c |
C :: how to remove button decoration |
C :: plt hide axis ticks |
C :: c colour |
C :: sstf program in c |
C :: c program to find area of circle |
C :: roshan kumar |
C :: prime check in c |
C :: C program to count number of digits in a number |
C :: random in c |
C :: c for schleife |
C :: string compare c |
C :: how to print the first character of a string in c |
C :: multiplication in c |
C :: sum average min max in c array |
C :: array value from user c |
C :: how to delete virtual hard disk virtualbox |
C :: typescript class as function parameter |
C :: to run Blazor project using CLI |
C :: keep last n bits |
C :: c bubble sort |
C :: print float in c |
C :: char ASCII in c |