语法:
#include <cstdlib> double strtod( const char *start, char **end );
strtod() 返回遇到的start中开始的双精度浮点数。end被设置为指向start在双精度浮点数之后留下的部分。如果发生溢出,strtod() 返回 HUGE_VAL 或者 -HUGE_VAL。
相关主题: atof