摘要: 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 阅读全文
posted @ 2012-08-09 16:00 sky1991 阅读(2406) 评论(0) 推荐(0) 编辑