Posts Tagged 'signal'

I Hate Segmentation Faults

I haveĀ  been coding in C for four years now. Any C user knows the segmentation fault error. And trust me, there cannot possibly be anything worse than seeing your program terminate with a seg fault message. It irritates me so much that in my B Tech Project program I have created a signal handler which catches the error and prints a happy message instead of the boring default message.

This is what I have done :

// ...
Continue Reading ?
2