hi.圆周率pi在C/C++中是没有的,只能用#define PI 3.141592654 宏定义,或者用const double PI=3.141592654 来申明常量. 飞翔的天地 ... C++用#include .
tieba.baidu.com