将char数组转换成float型数据,可使用两种库函数: 方法1:strtod(const char* ptr, char** endptr)当strtod的第二个参数endptr不为NULL时,且ptr中含 ...
確定! 回上一頁