adsense


Friday, 27 November 2015

C++ LANGUAGE INTERRUPTS DELIVERED

COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button



C++ LANGUAGE INTERRUPTS DELIVERED




INTERRUPTS DELIVERED 

Signals are the interrupts delivered to a process by the operating system which can terminate a program prematurely. You can generate interrupts by pressing Ctrl+C on a UNIX, LINUX, Mac OS X or Windows system. 

There are signals which cannot be caught by the program but there is a following list of signals which you can catch in your program and can take appropriate actions based on the signal. These signals are defined in C++ header file <csignal>. 




Signal          Description  

SIGABRT  Abnormal termination of the program, 
                such as a call to abort. 

SIGFPE          An erroneous arithmetic operation, 
                such as a divide by zero or an operation resulting in overflow. 

SIGILL          Detection of an illegal instruction. 

SIGINT          Receipt of an interactive attention signal. 

SIGSEGV  An invalid access to storage. 

SIGTERM  A termination request sent to the program. 


No comments: