c语言 字符串中提取数字(包括小数)

如题所述

第1个回答  2007-03-01
用库函数 double atof(char *str)从浮点数字符序列中译出浮点数,要include <math.h>本回答被提问者采纳
第2个回答  2007-03-01
double atof(const char *string);

int atoi(const char *string);

_int64 _atoi64(const char *string);

long atol(const char *string);

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网