乌兰察布市市长费东斌:c++ 的平方根函数是什么? 需要include 什么?
来源:百度文库 编辑:查人人中国名人网 时间:2024/05/11 02:01:12
也可以用pow(x,0.5)
#include <math.h> //数学函数调用
sqrt(); //求某数的平方根
sqrt()
#include <math.h>
sqrt()
math.h
查人人中国名人网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:查人人中国名人网 时间:2024/05/11 02:01:12
也可以用pow(x,0.5)
#include <math.h> //数学函数调用
sqrt(); //求某数的平方根
sqrt()
#include <math.h>
sqrt()
math.h