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  ]
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to