会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
愤怒de_鸟叔
博客园
首页
新随笔
联系
订阅
管理
2014年12月1日
简易小程序(将字符型数据转换为浮点型数据)
摘要: #include#include#define SIZE 1000double my_atof(char const *str){float ret = 0;float temp = 0;int sign = 0;while(isspace(*str))str++;if(*str == '-'){s...
阅读全文
posted @ 2014-12-01 14:42 愤怒de_鸟叔
阅读(1616)
评论(1)
推荐(0)
编辑