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

>    I see. The reference I looked at says that the first and only parameter
> isalpha takes is int. How would you check for a char string if isalpha takes
> an int?

Process each character of the string individually.

for(int i=0; argv[1][i]; ++i){
   if (isalpha(argv[1][i].....


What is the problem to which using isalpha() your preferred solution?


-- 
PJH

'Two Dead in Baghdad' not 'product-friendly' - Kent Ertugrul, chief
executive of Phorm.

http://shabbleland.myminicity.com

Reply via email to