...I still do not understand how to check a user's input to ensure that it is a numeric character. I want to use the isdigit() function and I read the FAQ regarding the syntax of this function, but either the FAQ is too ambiguous or I'm not grasping the concept. (Probably the latter). I know what the isdigit() function is supposed to do -- and it's exactly what I need for my program -- but writing the blasted thing is my problem. I need more than just:
int isdigit(int c);
to help me write the function.
Furthermore, I want this thing to work inside a loop that already checks the input to make sure it falls within the range of acceptable numbers. Now I need the isdigit() function to first make sure the input is a number and not a letter, then it can check to see if it is within the range of acceptable numbers.
Any help would be appreciated.