2016年10月11日

将字符串"0x20"之类的转为数值

摘要: static int _atoul(const char *str, unsigned char *pvalue) { unsigned int result=0; while (*str) { if (isdigit((int)*str)) { //对于unsigned int为32位的编译环境来说,result... 阅读全文

posted @ 2016-10-11 11:02 suwen 阅读(1285) 评论(0) 推荐(0) 编辑

导航