Anonymous user
Exceptions: Difference between revisions
→try-catch: langtag
No edit summary |
(→try-catch: langtag) |
||
Line 144:
===try-catch===
<lang c> #include <setjmp.h>
enum { MY_EXCEPTION = 1 }; /* any non-zero number */
Line 167:
/* handle any type of exception not handled by above catches */
}
}</lang>
=={{header|C++}}==
|