#Exception handling in c ++ :
Compile time errors:
Errors caught during compiling time is called as compile time errors.
spelling mistake, syntax errors, wrong import class etc....
programmer/developer
Run time errors(Logical Error/Exception):
An exception caught during run time and also creates issue like program stops abnormally.
Exception handling in c++ is a process to handle runtime errors.
3 keywords: try, catch, throw
throw: program throws an exception when a program occurs/show. We can use "throw" keyword.
catch: program catches an exception with an exception handler at place in a program where programmer want to handle the problem/issue. we can use catch keyword.
try: try block to identify the code for which a particular exceptions will be activated/generated.
Exception handling:
--------------------
Auf dieser Seite können Sie das Online-Video 42 Exception Handling in C++ | C++ Programming Tutorial for beginners | cpp | C plus plus mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer tech fort 19 März 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 120 Mal angesehen und es wurde von 3 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!