On Sun, 16 Oct 2011 16:06:54 -0700, Gary Kline wrote:
> this will bbe my 'sanity-checck' of sorts.  the ck function will
> have something like:
> 
> if ((char)x == 'a')
> {
> }

I'm not sure this is required. Many functions that deal with
characters (in this case: letters) do operate on (int) instead
of (char). For example getc() and getchar(), but also getch()
from NCurses do so. It's common to simply compare those (int)
value to character constants without casting them to (char)
before comparison.

-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to