How can I declare a separate function which will be called in case of Run-Time Error to prevent program crash ?
arpal
0
Newbie Poster
Recommended Answers
Jump to PostSee
http://www.cplusplus.com/reference/clibrary/csignal/signal/Note that in the case of a segmentation fault or division by zero all you can do in the signal handlers is to terminate the program in a controlled way, because when the signal handler exits, execution will be continued at the point where the …
All 3 Replies
daviddoria
334
Posting Virtuoso
Featured Poster
arpal
0
Newbie Poster
Aranarth
126
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.