蛋白质粉价格安利:c++ 的平方根函数是什么? 需要include 什么?
来源:百度文库 编辑:杭州交通信息网 时间:2024/05/08 07:04:12
也可以用pow(x,0.5)
#include <math.h> //数学函数调用
sqrt(); //求某数的平方根
sqrt()
#include <math.h>
sqrt()
math.h
也可以用pow(x,0.5)
#include <math.h> //数学函数调用
sqrt(); //求某数的平方根
sqrt()
#include <math.h>
sqrt()
math.h