It's a better idea to actually write your program rather than write nonstop error checking.
I'm actually being half serious here.
The user will always mess up input.
The user will always find the most creative way to work around your error checking.
It's a waste, just let it all crash and burn and have the user learn to use the program.
Copyright must be abolished. The fact that anything created today will never enter the public domain within any of our livetimes proves that the system has failed. We have an obligation to exercise civil disobedience to protest the broken system. I will shed no tears for billionares caught up in the flack. They never shed a tear for the tens of thousands of people they screwed with expensive lawsuits, nor the billions they screwed out of their rightful inheritance of the collective works of humanity.
It's your obligation as a good citizen to pirate shit.
C enthusiast, Asriel fan, Elsword player, dwm elitist