蛋白质粉价格安利:c++ 的平方根函数是什么? 需要include 什么?
来源:百度文库 编辑:杭州交通信息网 时间:2024/04/27 04:19:29
也可以用pow(x,0.5)
#include <math.h> //数学函数调用
sqrt(); //求某数的平方根
sqrt()
#include <math.h>
sqrt()
math.h
杭州交通信息网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:杭州交通信息网 时间:2024/04/27 04:19:29
也可以用pow(x,0.5)
#include <math.h> //数学函数调用
sqrt(); //求某数的平方根
sqrt()
#include <math.h>
sqrt()
math.h