提醒:十六进制转换十进制code. 2011年04月16日

来自: FLY
订阅:E5910
演示:以MSN订阅提醒为例 订阅到哪吒,有更新提醒我
哪吒机器人提醒:
提醒:FLY
【标题】十六进制转换十进制code.
【摘要】前天,十六进制转换十进制,写完代码之后才知道有更简单的代码实现:int a;sscanf("abc", "%x", a);顺便附上我写的,#pragma hdrstop#include #include #include int hex_char_value(char c);int hex_to_decimal(const char* szhex);//---------------------------------------------------------------------------#pragma argsusedint hex_char_value(char c){    if(c >= '0' && c         return c - '0';... (04-16 20:44)
收藏 |  评论 |  推荐给好友  | 
本文共有 0 次分享
来自 FLY 的其他文章
评论
共有 - 条评论


我要反馈