请问c++中root 和sqrt 的区别

2025-04-13 13:48:39
推荐回答(1个)
回答1:

C++标准库中,没有root这个函数。
sqrt是开方函数,声明在中,使用要包含。sqrt系Square Root Calculations(平方根计算)