c++builder 2010中求arctan2()
头文件中早已加入Math.h
- C/C++ code
alpha = ArcTan2(point2y, point2x);//alpha = arctan2(point2y, point2x);
这两种写法均提示:
[BCC32 Error] Unit1.cpp(811): E2268 Call to undefined function 'ArcTan2'
[BCC32 Error] Unit1.cpp(811): E2268 Call to undefined function 'arctan2'
这个函数究竟是什么样子的,我的help暂时打不开。还请帮忙,谢谢。
[解决办法]
atan
[解决办法]
atan2