小冰冰传奇100级阵容:implicit declaration of function `int hypot(...)\'

来源:百度文库 编辑:高考问答 时间:2024/07/08 15:21:38
double radius; center_x,center_y,current_x,current_y都是double类型的
出错的为下面这条语句:
radius SET_TO hypot((center_x - current_x),(center_y - current_y));

implicit declaration of function `int hypot(...)' 这句是什么意思了,如何解决?
??