On Thu, Aug 7, 2008 at 1:41 PM, Bill Cunningham <[EMAIL PROTECTED]> wrote:

>    If I had a main (int argc, char *argv[]) and wanted to check argv[1] to
> see if there was a isalpha there what am I going to need to do because
> isalpha takes an int. Am i going to need to use atoi or what because I've
> never really used this function and I don't know if I would want to use atoi
> or argv[1][?] check the 2nd dimension on that argv[1].

isalpha() will take an unsigned char like '0' - '9', 'a' - 'z' and 'A' - 'Z'

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
 If I were to divulge it, it would overturn the world."
 -- Jelaleddin Rumi

Reply via email to