Input validation Input validation BigBri (Programmer) (OP) 28 Oct 99 16:41 To pick up a char or string value when it is entered into a float or int before it crashs the program? then kick it out and get new inputAny ideas!! RE: Input validation 2ffat (Programmer) 29 Oct 99 10:51 Your best bet is to pick up the input as a string then do a conversion using something like strtod(cont char s*, char **endptr), atof(const char *s), or even printf. It's going to depend on wether you use stings or an array of characters. I personnally prefer to use strings and atof or atoi.