摘要:
1 #include "stdio.h" 2 #include "string.h" 3 4 unsigned char ChartoByte(char c) 5 { 6 if(c-'a'>=0 ) return(c-'a'+10); 7 else if(c-'A'>=0 ) return(c-'A'+10); 8 else return(c-'0'); 9 }10 11 unsigned char Char2toByte(char* s)12 {13 retur 阅读全文