C語言十六進制字符串轉換十進制

簡單的十六進制轉換,用到了大小寫字符轉換、計算指數。code /* * 十六進制轉換十進制 */ void htoi(char s[]); void practice2_3(); void main() { practice2_3(); } void htoi(char s[]){ int totalNum = 0; int c; int position = 0; int lastC
相關文章
相關標籤/搜索