need to check for hex in C: how/

Gary Kline kline at thought.org
Sun Oct 16 21:26:32 UTC 2011


if n == 15 and x is the int. i can say 

if ((int)x == 15)  Or to check if x == 'A' i can cast x to (char)x.

what's the syntax to chec if x is , say, 32/



-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
           Journey Toward the Dawn, E-Book: http://www.thought.org
          The 8.51a release of Jottings: http://jottings.thought.org



More information about the freebsd-questions mailing list