一个关于signal函数的问题
按照书中的描述#include <stdio.h>
#include <signal.h>
void ErrorHandle(void);
int main()
{
int i=1;
signal(SIGFPE,ErrorHandle);
i/=0;
return 0;
}
void ErrorHandle()
{
puts("Error Handle");
}
应该会输出Error Handle为什么是运行错误。。

Murphy's Law :
If there are two or more ways to do something, and one of those ways can result in a catastrophe, then someone will do it.