:: Re: [DNG] [OT] [Re: Studying C as t…
Kezdőlap
Delete this message
Reply to this message
Szerző: KatolaZ
Dátum:  
Címzett: dng
Tárgy: Re: [DNG] [OT] [Re: Studying C as told. (For help)
On Tue, Jun 21, 2016 at 06:41:15PM +0200, Edward Bartolo wrote:

[cut]

>
> And
> << if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) >>
>
> would reduce to:
>
> if (isletter(c))
>


or, you could just use "isalpha(c)", as suggested also by Urban.




-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]