摘要: http://zhidao.baidu.com/question/24901138.html用c语言编写函数Htoi(s)把由16进制数字组成的字符串 转化成与之等价的整型值,字符串中允许包含0-9,a-f,A-F.#include "stdio.h"#include "string.h"int translat(char c){if(c<='9'&&c>='0') r... 阅读全文
posted @ 2010-08-27 16:50 牧羊的小牧童 阅读(7592) 评论(0) 推荐(0) 编辑