有没有类似 atoi 的函数将字符串转换为 float 而不是整数?
最佳答案
(或 std::atof()
谈论 C++ - 谢谢 jons34yp)
关于c++ - 喜欢 atoi 但要漂浮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5017001/
有没有类似 atoi 的函数将字符串转换为 float 而不是整数?
最佳答案
(或 std::atof()
谈论 C++ - 谢谢 jons34yp)
关于c++ - 喜欢 atoi 但要漂浮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5017001/