[DGD] case conversion

Robert Forshaw iouswuoibev at hotmail.com
Tue Jan 6 23:15:03 CET 2004


>From: Noah Gibbs <noah_gibbs at yahoo.com>
>   Rather than "ch[0] = str[count++]", you probably
>want something like "count++, ch = str[count..count]",
>which will set ch to be a one-character string
>containing str[count] as its only character.
>
>   Alternately, you could extract the character as an
>int to alter it, or alter it directly as str[count].

All good advice, however the runtime error is occuring on the comparison 
line:

if(ch[0] >= 'A' && ch[0] <= 'Z')

Any thoughts?

_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you. 
http://www.msn.co.uk/internetaccess

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list