Discussion in 'OT Technology' started by ranthal, Aug 29, 2008.
that returns true if a character is hex (0-9, a-f) and false otherwise? thx
whoops found it int isxdigit ( int c );
you mean one already written? You could easily implement that but...
int isxdigit ( int c );
*edit* omg did you get that from cplusplus.com? lol looks like we copied and pasted the same thing from the same place
haha, i know, did a goodle search for c function ishex first, couldn't find anything, then after i posted started from isalpha and took me 2 mins
jsut use a reg expression [0-9][a-f][A-F]