VC 2008后为重载函数,原型为 float sqrt (float),double sqrt (double),double long sqrt(double long)
注意没有int sqrt (int)
一般是:用double sqrt(double x)
切忌:x不能为int
VC 2008后为重载函数,原型为 float sqrt (float),double sqrt (double),double long sqrt(double long)
注意没有int sqrt (int)
一般是:用double sqrt(double x)
切忌:x不能为int