How to catch system-level exceptions in Linux
The following C++ program doesn't catch the exception:
Code:
#include <iostream> Floating Point Exception rather than exception Signals can be used to handle this divide-by-zero exception, but will that work for all other system-level exceptions? I just want a simple method to make catch() work. Thanks. |
I'd suggest using the Report button to ask the Mods to move this to the Programming forum, although you may well get an answer here...
|
Moved: This thread is more suitable in <Programming> and has been moved accordingly to help your thread/question get the exposure it deserves.
|
All times are GMT -5. The time now is 03:32 AM. |