一、 atof(). 头文件#include<stdlib.h>/include<cstdlib>. 原型:double atof(const char *nptr);. 作用:把字符串转换成浮点数,直至遇到第一个空格。
確定! 回上一頁