Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
关于linux中math.h中的M_PI唉,汗颜。linux math.h中有一宏M_PI M_PI = 3.141592653589793115997963468544185161590576171875 直接使用,但是编译错误。 在linux下编译math.h时,命令得是如 gcc -o test test.c -lm 忘加-lm花去一瓢时间。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator